wine
15 years agokernel32: Set argv[0] to the full path of the binary when starting from Unix.
Alexandre Julliard [Thu, 2 Apr 2009 10:59:32 +0000 (12:59 +0200)] 
kernel32: Set argv[0] to the full path of the binary when starting from Unix.

15 years agokernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too.
Alexandre Julliard [Thu, 2 Apr 2009 10:00:33 +0000 (12:00 +0200)] 
kernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too.

15 years agolibwine: Don't export mmap functions for the Windows build.
Alexandre Julliard [Wed, 1 Apr 2009 18:27:59 +0000 (20:27 +0200)] 
libwine: Don't export mmap functions for the Windows build.

15 years agooleaut32: Don't use 16-bit headers.
Alexandre Julliard [Wed, 1 Apr 2009 16:20:21 +0000 (18:20 +0200)] 
oleaut32: Don't use 16-bit headers.

15 years agoshell32: Make shell.dll into a stand-alone 16-bit module.
Alexandre Julliard [Wed, 1 Apr 2009 16:20:13 +0000 (18:20 +0200)] 
shell32: Make shell.dll into a stand-alone 16-bit module.

15 years agoshell32: Add implementation of WOWShellExecute.
Alexandre Julliard [Wed, 1 Apr 2009 16:19:42 +0000 (18:19 +0200)] 
shell32: Add implementation of WOWShellExecute.

The callback is probably not fully compatible, but apps are not
supposed to use that function anyway.

15 years agowinecrt0: Disable the delay import destructor on Mac OS, it cannot be made to work.
Alexandre Julliard [Wed, 1 Apr 2009 16:13:42 +0000 (18:13 +0200)] 
winecrt0: Disable the delay import destructor on Mac OS, it cannot be made to work.

15 years agocomctl32: listview: Some tests showed delayed header creation in ListView control.
Nikolay Sivov [Mon, 30 Mar 2009 18:59:10 +0000 (14:59 -0400)] 
comctl32: listview: Some tests showed delayed header creation in ListView control.

15 years agoole32: Change the global memory duplicator to return HRESULT.
Huw Davies [Wed, 1 Apr 2009 13:03:27 +0000 (14:03 +0100)] 
ole32: Change the global memory duplicator to return HRESULT.

15 years agoole32: Rename a few variables and remove a couple of meaningless comments.
Huw Davies [Tue, 31 Mar 2009 16:02:32 +0000 (17:02 +0100)] 
ole32: Rename a few variables and remove a couple of meaningless comments.

15 years agoole32: Move the embed source hack to a separate function.
Huw Davies [Tue, 31 Mar 2009 15:58:57 +0000 (16:58 +0100)] 
ole32: Move the embed source hack to a separate function.

15 years agoole32/tests: Set tymed in GetData and AddRef the interfaces (ReleaseStgMedium release...
Huw Davies [Tue, 31 Mar 2009 13:41:11 +0000 (14:41 +0100)] 
ole32/tests: Set tymed in GetData and AddRef the interfaces (ReleaseStgMedium releases them even if pUnkForRelease is non-NULL).

15 years agomshtml/tests: Fix tests on Windows.
Ge van Geldorp [Wed, 1 Apr 2009 10:31:18 +0000 (12:31 +0200)] 
mshtml/tests: Fix tests on Windows.

15 years agolibwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated...
Alexandre Julliard [Wed, 1 Apr 2009 12:36:49 +0000 (14:36 +0200)] 
libwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated when used.

15 years agowined3d: Use a more reasonable name for "SHADER_OPCODE_ARG".
Henri Verbeet [Wed, 1 Apr 2009 10:23:01 +0000 (12:23 +0200)] 
wined3d: Use a more reasonable name for "SHADER_OPCODE_ARG".

15 years agowined3d: Avoid a forward declaration.
Henri Verbeet [Wed, 1 Apr 2009 10:23:01 +0000 (12:23 +0200)] 
wined3d: Avoid a forward declaration.

15 years agowined3d: Don't use the opcode_token field in the ARB backend.
Henri Verbeet [Wed, 1 Apr 2009 10:23:00 +0000 (12:23 +0200)] 
wined3d: Don't use the opcode_token field in the ARB backend.

15 years agowined3d: Don't use the opcode_token field in the GLSL backend.
Henri Verbeet [Wed, 1 Apr 2009 10:23:00 +0000 (12:23 +0200)] 
wined3d: Don't use the opcode_token field in the GLSL backend.

The idea is that we want to prevent backends from parsing the tokens
themselves, which is pretty much a requirement for adding SM4 support.

15 years agoddraw: Filter invalid texture stage states passed by the application.
Henri Verbeet [Wed, 1 Apr 2009 10:23:00 +0000 (12:23 +0200)] 
ddraw: Filter invalid texture stage states passed by the application.

15 years agourlmon.idl: Use HANDLE_PTR in IInternetProtocolRoot::Start declaration.
Jacek Caban [Wed, 1 Apr 2009 01:42:37 +0000 (03:42 +0200)] 
urlmon.idl: Use HANDLE_PTR in IInternetProtocolRoot::Start declaration.

15 years agobasetsd.h: Added HANDLE_PTR and SHANDLE_PTR typedefs.
Jacek Caban [Wed, 1 Apr 2009 01:41:55 +0000 (03:41 +0200)] 
basetsd.h: Added HANDLE_PTR and SHANDLE_PTR typedefs.

15 years agomciqtz32: Implement MCI_SEEK.
Christian Costa [Tue, 31 Mar 2009 19:38:02 +0000 (21:38 +0200)] 
mciqtz32: Implement MCI_SEEK.

15 years agoadvapi32: Handle fully qualified account names for well known sids in LookupAccountName.
Aric Stewart [Tue, 31 Mar 2009 14:00:11 +0000 (09:00 -0500)] 
advapi32: Handle fully qualified account names for well known sids in LookupAccountName.

15 years agoadvapi32: Modify check_well_known_name test to be more robust on more Windows platforms.
Aric Stewart [Tue, 31 Mar 2009 13:59:54 +0000 (08:59 -0500)] 
advapi32: Modify check_well_known_name test to be more robust on more Windows platforms.

Thanks to Paul Vriens for pointing out the need for this.

15 years agontdll: Define dvd_struct ourselves since it's not consistent across platforms.
Alexandre Julliard [Wed, 1 Apr 2009 10:37:32 +0000 (12:37 +0200)] 
ntdll: Define dvd_struct ourselves since it's not consistent across platforms.

15 years agontdll: Add separate signal definitions for OpenBSD.
Alexandre Julliard [Wed, 1 Apr 2009 10:37:05 +0000 (12:37 +0200)] 
ntdll: Add separate signal definitions for OpenBSD.

15 years agokernel32: Implement QueryFullProcessImageFileNameW.
Mikołaj Zalewski [Sun, 29 Mar 2009 21:36:33 +0000 (23:36 +0200)] 
kernel32: Implement QueryFullProcessImageFileNameW.

15 years agogdi32: Fix PATH_add_outline when mapping mode != MM_TEXT.
Massimo Del Fedele [Mon, 30 Mar 2009 17:52:02 +0000 (19:52 +0200)] 
gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT.

15 years agogdi32: PATH_ExtTextOut remove incorrect shift to DC origin.
Massimo Del Fedele [Mon, 30 Mar 2009 17:51:12 +0000 (19:51 +0200)] 
gdi32: PATH_ExtTextOut remove incorrect shift to DC origin.

15 years agogdi32: Correctly handle space char on Path_ExtTextOut().
Massimo Del Fedele [Mon, 30 Mar 2009 17:49:04 +0000 (19:49 +0200)] 
gdi32: Correctly handle space char on Path_ExtTextOut().

15 years agogdi32/tests: Add test for GetGlyphOutlineW() requesting buffer size for space char.
Massimo Del Fedele [Mon, 30 Mar 2009 17:47:29 +0000 (19:47 +0200)] 
gdi32/tests: Add test for GetGlyphOutlineW() requesting buffer size for space char.

15 years agoinclude: Add a stub implementation of gai_strerror{A,W}.
Rob Shearman [Tue, 31 Mar 2009 12:38:04 +0000 (13:38 +0100)] 
include: Add a stub implementation of gai_strerror{A,W}.

15 years agoinclude: Add TCP and IPv6 option defines to ws2ipdef.h.
Rob Shearman [Tue, 31 Mar 2009 12:37:58 +0000 (13:37 +0100)] 
include: Add TCP and IPv6 option defines to ws2ipdef.h.

Add more IP option defines.

Add defines for address string lengths for IPv4 and IPv6.

15 years agoinclude: Move some declarations in ws2tcpip.h to where they belong in new ws2ipdef...
Rob Shearman [Tue, 31 Mar 2009 12:37:49 +0000 (13:37 +0100)] 
include: Move some declarations in ws2tcpip.h to where they belong in new ws2ipdef.h header.

15 years agowinecrt0: Don't bother passing the environment to the _init function.
Alexandre Julliard [Tue, 31 Mar 2009 14:06:11 +0000 (16:06 +0200)] 
winecrt0: Don't bother passing the environment to the _init function.

We'd have to use the Windows environment anyway, not the Unix one.

15 years agoole32/tests: Add some tests for stream data.
Huw Davies [Tue, 31 Mar 2009 11:07:14 +0000 (12:07 +0100)] 
ole32/tests: Add some tests for stream data.

15 years agoole32/tests: Add broken return value for win98.
Huw Davies [Tue, 31 Mar 2009 09:18:13 +0000 (10:18 +0100)] 
ole32/tests: Add broken return value for win98.

15 years agoole32/tests: On win9x GetClipboardData returns a new handle.
Huw Davies [Tue, 31 Mar 2009 09:11:46 +0000 (10:11 +0100)] 
ole32/tests: On win9x GetClipboardData returns a new handle.

15 years agoole32: Simplify some of the error handling.
Huw Davies [Mon, 30 Mar 2009 14:33:28 +0000 (15:33 +0100)] 
ole32: Simplify some of the error handling.

15 years agowined3d: Don't leak the swapchain in IWineD3DDeviceImpl_Reset() if the display mode...
Henri Verbeet [Tue, 31 Mar 2009 07:38:14 +0000 (09:38 +0200)] 
wined3d: Don't leak the swapchain in IWineD3DDeviceImpl_Reset() if the display mode is unsupported.

15 years agod3d10core: Set the initial buffer data, when present.
Henri Verbeet [Tue, 31 Mar 2009 07:38:14 +0000 (09:38 +0200)] 
d3d10core: Set the initial buffer data, when present.

15 years agowined3d: Care for things like pitch and blocksize when copying DXT surfaces.
Henri Verbeet [Tue, 31 Mar 2009 07:38:14 +0000 (09:38 +0200)] 
wined3d: Care for things like pitch and blocksize when copying DXT surfaces.

15 years agod3d10core: Implement ID3D10Device::IASetVertexBuffers().
Henri Verbeet [Tue, 31 Mar 2009 07:38:14 +0000 (09:38 +0200)] 
d3d10core: Implement ID3D10Device::IASetVertexBuffers().

15 years agod3d10core: Implement ID3D10Device::IASetInputLayout().
Henri Verbeet [Tue, 31 Mar 2009 07:38:14 +0000 (09:38 +0200)] 
d3d10core: Implement ID3D10Device::IASetInputLayout().

15 years agomsi: Build a proper source path in MsiConfigureProductExW.
Hans Leidekker [Tue, 31 Mar 2009 09:31:28 +0000 (11:31 +0200)] 
msi: Build a proper source path in MsiConfigureProductExW.

We were passing uninitialized data which would ultimately end up in the
registry.

15 years agomsi: Don't publish package name as part of product properties.
Hans Leidekker [Tue, 31 Mar 2009 09:31:01 +0000 (11:31 +0200)] 
msi: Don't publish package name as part of product properties.

This value does not exist directly under the product key on Windows.

15 years agowinemenubuilder: Use the user-dirs desktop directory instead of hardcoding ~/Desktop.
Damjan Jovanovic [Mon, 30 Mar 2009 18:06:31 +0000 (20:06 +0200)] 
winemenubuilder: Use the user-dirs desktop directory instead of hardcoding ~/Desktop.

15 years agourlmon.idl: Added PROTOCOLFILTERDATA declaration.
Jacek Caban [Tue, 31 Mar 2009 00:42:46 +0000 (02:42 +0200)] 
urlmon.idl: Added PROTOCOLFILTERDATA declaration.

15 years agocredui: Add the Romanian translation.
Michael Stefaniuc [Mon, 30 Mar 2009 22:17:47 +0000 (00:17 +0200)] 
credui: Add the Romanian translation.

15 years agorpcrt4: Implemented RpcEpRegisterW wrapping RpcEpRegisterA.
Nikolay Sivov [Mon, 30 Mar 2009 19:43:58 +0000 (15:43 -0400)] 
rpcrt4: Implemented RpcEpRegisterW wrapping RpcEpRegisterA.

15 years agocomctl32: Correct handling of toolbar separators size.
Igor Tarasov [Mon, 30 Mar 2009 16:08:18 +0000 (21:08 +0500)] 
comctl32: Correct handling of toolbar separators size.

15 years agocomctl32: CCS_VERT flips toolbar separators orientation.
Igor Tarasov [Mon, 30 Mar 2009 16:05:40 +0000 (21:05 +0500)] 
comctl32: CCS_VERT flips toolbar separators orientation.

15 years agowined3d: Simplify sampler_texmatrix using pow2Matrix_identity.
Tobias Jakobi [Thu, 26 Mar 2009 02:47:58 +0000 (03:47 +0100)] 
wined3d: Simplify sampler_texmatrix using pow2Matrix_identity.

15 years agowined3d: GLSL: Implement texrect coord fixup.
Tobias Jakobi [Thu, 26 Mar 2009 02:19:41 +0000 (03:19 +0100)] 
wined3d: GLSL: Implement texrect coord fixup.

15 years agowined3d: Add texrect_fixup bitfield to ps_compile_args struct.
Tobias Jakobi [Thu, 26 Mar 2009 02:15:21 +0000 (03:15 +0100)] 
wined3d: Add texrect_fixup bitfield to ps_compile_args struct.

Initialization of the bitfield done in find_ps_compile_args
based on the previously introduced pow2Matrix_identity flag.

15 years agowined3d: Add pow2Matrix_identity flag to BaseTextureClass struct.
Tobias Jakobi [Thu, 26 Mar 2009 02:12:50 +0000 (03:12 +0100)] 
wined3d: Add pow2Matrix_identity flag to BaseTextureClass struct.

New flag helps to quickly find out whether the pow2Matrix is a
identity matrix (no texcoord fixup needed) or not.

15 years agowinedos: Release the 16-bit lock before calling ExitThread.
Alexandre Julliard [Tue, 31 Mar 2009 10:39:10 +0000 (12:39 +0200)] 
winedos: Release the 16-bit lock before calling ExitThread.

This avoids deadlocks with the loader lock.

15 years agoinclude: Try to avoid socklen_t redefinition in winsock.h.
Alexandre Julliard [Tue, 31 Mar 2009 10:19:03 +0000 (12:19 +0200)] 
include: Try to avoid socklen_t redefinition in winsock.h.

15 years agows2_32/tests: Don't use socklen_t.
Alexandre Julliard [Tue, 31 Mar 2009 10:13:15 +0000 (12:13 +0200)] 
ws2_32/tests: Don't use socklen_t.

15 years agoinetcomm: Include ws2tcpip.h before anything else.
Alexandre Julliard [Tue, 31 Mar 2009 10:12:13 +0000 (12:12 +0200)] 
inetcomm: Include ws2tcpip.h before anything else.

15 years agoImplement d3dx9_41 and forward the functions to d3dx9_36.
Rico Schüller [Sun, 29 Mar 2009 13:41:21 +0000 (15:41 +0200)] 
Implement d3dx9_41 and forward the functions to d3dx9_36.

15 years agomsi/tests: Fix a copy & paste typo in a test message.
Detlef Riekenberg [Mon, 30 Mar 2009 15:33:09 +0000 (17:33 +0200)] 
msi/tests: Fix a copy & paste typo in a test message.

15 years agoadvapi32: Alias some sids in LookupAccountName and make comparison case insensitive.
Aric Stewart [Fri, 27 Mar 2009 14:47:43 +0000 (09:47 -0500)] 
advapi32: Alias some sids in LookupAccountName and make comparison case insensitive.

15 years agoamstream: Log GUID instead of pointer.
Joerg-Cyril.Hoehle@t-systems.com [Mon, 30 Mar 2009 11:21:45 +0000 (13:21 +0200)] 
amstream: Log GUID instead of pointer.

15 years agomciqtz32: Add basic play capability.
Christian Costa [Sun, 29 Mar 2009 21:51:49 +0000 (23:51 +0200)] 
mciqtz32: Add basic play capability.

15 years agomciqtz32: Implement driver messages.
Christian Costa [Sun, 29 Mar 2009 21:50:26 +0000 (23:50 +0200)] 
mciqtz32: Implement driver messages.

15 years agoole32/tests: Tests for EnumFormatEtc.
Huw Davies [Mon, 30 Mar 2009 11:08:51 +0000 (12:08 +0100)] 
ole32/tests: Tests for EnumFormatEtc.

15 years agoole32/tests: Fix DVTARGETDEVICE offsets.
Huw Davies [Mon, 30 Mar 2009 11:05:25 +0000 (12:05 +0100)] 
ole32/tests: Fix DVTARGETDEVICE offsets.

15 years agoole32: Reimplement the formatetc enumerator using 'Ole Private Data'.
Huw Davies [Mon, 30 Mar 2009 11:00:44 +0000 (12:00 +0100)] 
ole32: Reimplement the formatetc enumerator using 'Ole Private Data'.

15 years agoole32: AddRef does not return an HRESULT. Have the constructor create the object...
Huw Davies [Thu, 26 Mar 2009 16:41:59 +0000 (16:41 +0000)] 
ole32: AddRef does not return an HRESULT. Have the constructor create the object with one reference.

15 years agoole32: Change the enum formatetc constructor to return HRESULT.
Huw Davies [Thu, 26 Mar 2009 16:38:57 +0000 (16:38 +0000)] 
ole32: Change the enum formatetc constructor to return HRESULT.

15 years agoole32: Don't hold a reference on the parent IDataObject.
Huw Davies [Thu, 26 Mar 2009 16:25:37 +0000 (16:25 +0000)] 
ole32: Don't hold a reference on the parent IDataObject.

15 years agoole32: Rename a variable.
Huw Davies [Thu, 26 Mar 2009 16:20:18 +0000 (16:20 +0000)] 
ole32: Rename a variable.

15 years agoole32: Use a helper function to access the enum format implementation.
Huw Davies [Thu, 26 Mar 2009 15:42:13 +0000 (15:42 +0000)] 
ole32: Use a helper function to access the enum format implementation.

15 years agobcrypt: Add a mostly empty bcrypt.dll.
Henri Verbeet [Mon, 30 Mar 2009 09:24:55 +0000 (11:24 +0200)] 
bcrypt: Add a mostly empty bcrypt.dll.

This is the "Cryptography API: Next Generation" introduced by Vista.

15 years agod3d10core: Create a vertex declaration from the input layout.
Henri Verbeet [Mon, 30 Mar 2009 09:24:55 +0000 (11:24 +0200)] 
d3d10core: Create a vertex declaration from the input layout.

15 years agod3d10core: Add a DXBC parser.
Henri Verbeet [Mon, 30 Mar 2009 09:24:54 +0000 (11:24 +0200)] 
d3d10core: Add a DXBC parser.

We may want to push this into either wined3d or our future shader compiler
dll. It's not a whole lot of code though.

15 years agowined3d: Use the output slot when we have one.
Henri Verbeet [Mon, 30 Mar 2009 09:24:54 +0000 (11:24 +0200)] 
wined3d: Use the output slot when we have one.

15 years agowined3d: Store the format_desc itself in struct wined3d_stream_info_element.
Henri Verbeet [Mon, 30 Mar 2009 09:24:54 +0000 (11:24 +0200)] 
wined3d: Store the format_desc itself in struct wined3d_stream_info_element.

15 years agoshdocvw/tests: Fix shdocvw:webbrowser test on some Windows boxes.
Ge van Geldorp [Sun, 29 Mar 2009 22:42:31 +0000 (00:42 +0200)] 
shdocvw/tests: Fix shdocvw:webbrowser test on some Windows boxes.

15 years agourlmon/tests: Fix ftp protocol test on WinXP and higher.
Ge van Geldorp [Sun, 29 Mar 2009 22:41:54 +0000 (00:41 +0200)] 
urlmon/tests: Fix ftp protocol test on WinXP and higher.

15 years agowined3d: Check for the presence of wglGetExtensionsStringARB.
Roderick Colenbrander [Sun, 29 Mar 2009 20:08:42 +0000 (22:08 +0200)] 
wined3d: Check for the presence of wglGetExtensionsStringARB.

15 years agourlmon: Get rid of ICOM_THIS_MULTI macro.
Jacek Caban [Sun, 29 Mar 2009 19:31:27 +0000 (21:31 +0200)] 
urlmon: Get rid of ICOM_THIS_MULTI macro.

15 years agourlmon: Added IWinInetHttpInfo support to Binding object.
Jacek Caban [Sun, 29 Mar 2009 19:31:15 +0000 (21:31 +0200)] 
urlmon: Added IWinInetHttpInfo support to Binding object.

15 years agourlmon: Added IWinInetHttpInfo stub implementation to FtpProtocol object.
Jacek Caban [Sun, 29 Mar 2009 19:30:50 +0000 (21:30 +0200)] 
urlmon: Added IWinInetHttpInfo stub implementation to FtpProtocol object.

15 years agourlmon: Added IInternetPriority handling tests.
Jacek Caban [Sun, 29 Mar 2009 19:30:42 +0000 (21:30 +0200)] 
urlmon: Added IInternetPriority handling tests.

15 years agourlmon: Added IWinInetHttpInfo stub implementation to HttpProtocol object.
Jacek Caban [Sun, 29 Mar 2009 19:30:29 +0000 (21:30 +0200)] 
urlmon: Added IWinInetHttpInfo stub implementation to HttpProtocol object.

15 years agomsi/tests: Verify path names case insensitively.
Detlef Riekenberg [Sun, 29 Mar 2009 13:31:56 +0000 (15:31 +0200)] 
msi/tests: Verify path names case insensitively.

15 years agocomctl32/tab: Fix highlighted tabs painting.
Nikolay Sivov [Sat, 28 Mar 2009 14:26:15 +0000 (10:26 -0400)] 
comctl32/tab: Fix highlighted tabs painting.

15 years agocomctl32/tab: Implemented TCS_MULTISELECT for mouse selection.
Nikolay Sivov [Sat, 28 Mar 2009 14:20:51 +0000 (10:20 -0400)] 
comctl32/tab: Implemented TCS_MULTISELECT for mouse selection.

15 years agocomctl32/tab: Implemented TCM_DESELECTALL.
Nikolay Sivov [Sat, 28 Mar 2009 13:57:09 +0000 (09:57 -0400)] 
comctl32/tab: Implemented TCM_DESELECTALL.

15 years agocomctl32/tab: Remove direct access to items array.
Nikolay Sivov [Sat, 28 Mar 2009 13:54:37 +0000 (09:54 -0400)] 
comctl32/tab: Remove direct access to items array.

15 years agoloader: Add missing install dependency for extra binaries.
Alexandre Julliard [Mon, 30 Mar 2009 13:05:17 +0000 (15:05 +0200)] 
loader: Add missing install dependency for extra binaries.

15 years agoloader: Don't bother checking for pthread.h existence, we require it anyway.
Alexandre Julliard [Mon, 30 Mar 2009 13:05:07 +0000 (15:05 +0200)] 
loader: Don't bother checking for pthread.h existence, we require it anyway.

15 years agontdll: Remove no longer used pthread_functions structure.
Alexandre Julliard [Mon, 30 Mar 2009 13:04:51 +0000 (15:04 +0200)] 
ntdll: Remove no longer used pthread_functions structure.

15 years agowineesd.drv: Improve the accuracy of wodUpdatePlayedTotal().
Francois Gouget [Sat, 28 Mar 2009 10:48:38 +0000 (11:48 +0100)] 
wineesd.drv: Improve the accuracy of wodUpdatePlayedTotal().

We do so by querying the EsounD latency and estimating dwPlayedTotal based on the elapsed time since the last write.
This benefits the accuracy of the completion notifications and of wodGetPosition().

15 years agowineesd.drv: Simplify wodPlayer_WriteMaxFrags() and wodPlayer_FeedDSP().
Francois Gouget [Sat, 28 Mar 2009 10:46:08 +0000 (11:46 +0100)] 
wineesd.drv: Simplify wodPlayer_WriteMaxFrags() and wodPlayer_FeedDSP().

We don't know how much free space we have in the EsounD buffer, so
just write until it is full. Sleep for a fraction of the time it will
take for the buffer to drain so we can refill it in time.

15 years agowineesd.drv: Let the EsounD server adjust the volume.
Francois Gouget [Sat, 28 Mar 2009 10:27:42 +0000 (11:27 +0100)] 
wineesd.drv: Let the EsounD server adjust the volume.

This simplifies our code and avoids data copying.
Also, now wodGetVolume() returns the real EsounD volume, even if it has been modified by an external mixer (e.g. esdctl).

15 years agowineesd.drv: Build a unique name so we can identify our stream.
Francois Gouget [Sat, 28 Mar 2009 10:26:39 +0000 (11:26 +0100)] 
wineesd.drv: Build a unique name so we can identify our stream.

Put the windows application name in it to make it user friendly as it is displayed by EsounD mixers.

15 years agowineesd.drv: Rename esd_fd to stream_fd.
Francois Gouget [Sat, 28 Mar 2009 10:24:36 +0000 (11:24 +0100)] 
wineesd.drv: Rename esd_fd to stream_fd.

It is used to send/receive stream data, not to send RPCs to the sound server as esd_fd would imply.
This is a no-op.