Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max Payne - crash #23

Open
justtoask opened this issue Feb 22, 2021 · 42 comments
Open

Max Payne - crash #23

justtoask opened this issue Feb 22, 2021 · 42 comments

Comments

@justtoask
Copy link

justtoask commented Feb 22, 2021

Hello. recently i wanted to play Max Payne with complete fix pack and ALchemy sound fix (for the best sound), but when i installed DSOAL the game just crashes! When i used DSOAL 1.1 it didn't have any sound! Here is the log I got:

3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:err:dsound:DSBuffer_Initialize Panning for multi-channel buffers is not supported
3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
3810:fixme:dsound:DS8_CreateSoundBuffer Buffers with 3D and panning control ignore panning
3810:err:dsound:DSBuffer_Initialize Multi-channel 3D sounds are not spatialized
3810:warn:dsound:DSData_Create Invalid AvgBytesPerSec 177436 (expected 176400 = 44100*4)

Help would be appreciated, thanks!

@kcat
Copy link
Owner

kcat commented Feb 22, 2021

Can you get a full trace log? Setting the DSOAL_LOGLEVEL environment variable to 3 should log more info leading up to the crash.

@justtoask
Copy link
Author

how to to it?

@justtoask
Copy link
Author

justtoask commented Feb 23, 2021

Nvm, already figured it out! here's the log:

0538:trace:dsound:load_libopenal Loaded dsoal-aldrv.dll
0538:trace:dsound:load_libopenal Found ALC_EXT_thread_local_context
28b8:trace:dsound:DllMain (6D5C0000, 2, 00000000)
1f70:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0708:trace:dsound:DllMain (6D5C0000, 2, 00000000)
27c0:trace:dsound:DllMain (6D5C0000, 2, 00000000)
21bc:trace:dsound:DllMain (6D5C0000, 2, 00000000)
2538:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0ee8:trace:dsound:DllMain (6D5C0000, 2, 00000000)
23a8:trace:dsound:DllMain (6D5C0000, 2, 00000000)
03a4:trace:dsound:DllMain (6D5C0000, 2, 00000000)
03a4:trace:dsound:DllMain (6D5C0000, 3, 00000000)
137c:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DirectSoundCreate ((null), 063A0880, 00000000)
0538:trace:dsound:DSDevice_Create Creating device instance 03D6F128
0538:trace:dsound:DS8_AddRef (03D6F128) ref 1
0538:trace:dsound:DS8_Initialize (03D6F128)->((null))
0538:trace:dsound:GetDeviceID (DSDEVID_DefaultPlayback, 0019E71C)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 03D70750
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
05e0:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
3088:trace:dsound:DllMain (6D5C0000, 2, 00000000)
2440:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
33f4:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer (03D6F128)->(0019E844, 0019E868, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x00000001
BufferBytes = 0
0538:trace:dsound:DSPrimary_AddRef (03D6F14C) ref 1
33f4:trace:dsound:DSShare_thread Shared device (03D70750) message loop start
0538:trace:dsound:DSPrimary_Initialize (03D6F14C)->(03D6F12C, 0019E844)
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSPrimary_Release (03D6F14C) ref 0
0538:trace:dsound:DS8_CreateSoundBuffer (03D6F128)->(0019E844, 0019E868, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000980e0
BufferBytes = 192000
0538:trace:dsound:DSBuffer_Initialize (03D24DC8)->(03D6F12C, 0019E844)
0538:err:dsound:DSBuffer_Initialize Panning for multi-channel buffers is not supported
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 48000
AvgBytesPerSec = 192000
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (03D24DC8) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_Release (03D24DC8) ref 0
0538:trace:dsound:DSBuffer_Destroy Destroying 03D24DC8
0538:trace:dsound:DSData_Release Deleting 03D19A08
0538:trace:dsound:DllGetClassObject ({11ab3ec0-25ec-11d1-a4d8-00c04fc28aca}, {00000001-0000-0000-c000-000000000046}, 0019E938)
0538:trace:dsound:DSCF_AddRef (6D5EC070) ref 2
0538:trace:dsound:DSCF_CreateInstance (6D5EC070, 00000000, {31efac30-515c-11d0-a9aa-00aa0061be93}, 0019E93C)
0538:trace:dsound:IKsPrivatePropertySetImpl_Create ({31efac30-515c-11d0-a9aa-00aa0061be93}, 0019E93C)
0538:trace:dsound:IKsPrivatePropertySetImpl_QueryInterface (03CD9220,{31efac30-515c-11d0-a9aa-00aa0061be93},0019E93C)
0538:trace:dsound:IKsPrivatePropertySetImpl_AddRef (03CD9220) ref 2
0538:trace:dsound:IKsPrivatePropertySetImpl_Release (03CD9220) ref 1
0538:trace:dsound:IKsPrivatePropertySetImpl_Get (iface=03CD9220,guidPropSet={84624f82-25ec-11d1-a4d8-00c04fc28aca},dwPropID=2,pInstanceData=0019E940,cbInstanceData=40,pPropData=0019E940,cbPropData=40,pcbReturned=0019E968)
0538:trace:dsound:IKsPrivatePropertySetImpl_Release (03CD9220) ref 0
0538:trace:dsound:IKsPrivatePropertySetImpl_Release (03CD9220) released
0538:trace:dsound:DSCF_Release (6D5EC070) ref 1
0538:trace:dsound:DS8_Release (03D6F128) ref 0
0538:trace:dsound:DSDevice_Destroy Destroying device instance 03D6F128
33f4:trace:dsound:DSShare_thread Shared device (03D70750) message loop quit
33f4:trace:dsound:DllMain (6D5C0000, 3, 00000000)
2440:trace:dsound:DllMain (6D5C0000, 3, 00000000)
3088:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DSShare_Destroy Closed shared device 03D70750
2ba8:trace:dsound:DllMain (6D5C0000, 2, 00000000)
137c:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DirectSoundCreate ((null), 063A0880, 00000000)
0538:trace:dsound:DSDevice_Create Creating device instance 06179630
0538:trace:dsound:DS8_AddRef (06179630) ref 1
313c:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DS8_Initialize (06179630)->((null))
0538:trace:dsound:GetDeviceID (DSDEVID_DefaultPlayback, 0019F6EC)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 06181080
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
1598:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
1ef4:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
247c:trace:dsound:DllMain (6D5C0000, 2, 00000000)
247c:trace:dsound:DSShare_thread Shared device (06181080) message loop start
0538:trace:dsound:DS8_SetCooperativeLevel (06179630)->(00060746, 2)
0538:trace:dsound:DS8_CreateSoundBuffer (06179630)->(0019F7C4, 063A0884, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x00000001
BufferBytes = 0
0538:trace:dsound:DSPrimary_AddRef (06179654) ref 1
0538:trace:dsound:DSPrimary_Initialize (06179654)->(06179634, 0019F7C4)
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSPrimary_SetFormat (06179654)->(061495D8)
0538:trace:dsound:DSPrimary_SetFormat Requested primary format:
FormatTag = 0001
Channels = 2
SamplesPerSec = 48000
AvgBytesPerSec = 192000
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DS8_CreateSoundBuffer (06179630)->(0019F7C4, 063A0888, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000980e0
BufferBytes = 192000
0538:trace:dsound:DSBuffer_Initialize (0619D900)->(06179634, 0019F7C4)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 48000
AvgBytesPerSec = 192000
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (0619D900) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_SetFrequency (0619D900)->(48000)
0538:trace:dsound:DSBuffer_SetCurrentPosition (0619D900)->(0)
0538:trace:dsound:DSBuffer_SetVolume (0619D900)->(0)
0538:trace:dsound:DSBuffer_SetPan (0619D900)->(0)
0538:trace:dsound:DSPrimary_Play (06179654)->(0, 0, 1)
1850:trace:dsound:DllMain (6D5C0000, 2, 00000000)
2de4:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0988:trace:dsound:DllMain (6D5C0000, 2, 00000000)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_Lock (0619D900)->(0, 192000, 0BF4FCF8, 0BF4FD04, 0BF4FCFC, 0BF4FD00, 0x0)
1850:trace:dsound:DSBuffer_Unlock (0619D900)->(06468F10, 18432, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_Lock (0619D900)->(18432, 173568, 0BF4FCF8, 0BF4FD04, 0BF4FCFC, 0BF4FD00, 0x0)
1850:trace:dsound:DSBuffer_Unlock (0619D900)->(0646D710, 18432, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_Lock (0619D900)->(36864, 155136, 0BF4FCF8, 0BF4FD04, 0BF4FCFC, 0BF4FD00, 0x0)
1850:trace:dsound:DSBuffer_Unlock (0619D900)->(06471F10, 18432, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_Lock (0619D900)->(55296, 136704, 0BF4FCF8, 0BF4FD04, 0BF4FCFC, 0BF4FD00, 0x0)
1850:trace:dsound:DSBuffer_Unlock (0619D900)->(06476710, 41472, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
23a8:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(066AEDDC, 066AEDE0)
23a8:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 0, write pos = 0
23a8:trace:dsound:DS8_SetCooperativeLevel (06179630)->(00060746, 2)
23a8:trace:dsound:DSBuffer_GetStatus (0619D900)->(066AEE74)
23a8:trace:dsound:DSBuffer_GetStatus 0619D900 status = 0x00000000
23a8:trace:dsound:DSBuffer_Play (0619D900)->(0, 0, 1)
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
313c:trace:dsound:DSBuffer_Lock (0619D900)->(96768, 102912, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06480910, 95232, 06468F10, 7680)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
313c:trace:dsound:DSBuffer_Lock (0619D900)->(7680, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(0646AD10, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 46080, write pos = 49920
313c:trace:dsound:DSBuffer_Lock (0619D900)->(26880, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(0646F810, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 46080, write pos = 49920
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 46080, write pos = 49920
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 46080, write pos = 49920
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 65280, write pos = 69120
313c:trace:dsound:DSBuffer_Lock (0619D900)->(46080, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06474310, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 65280, write pos = 69120
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 65280, write pos = 69120
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
313c:trace:dsound:DSBuffer_Lock (0619D900)->(65280, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06478E10, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 84480, write pos = 88320
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 103680, write pos = 107520
313c:trace:dsound:DSBuffer_Lock (0619D900)->(84480, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(0647D910, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 103680, write pos = 107520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 103680, write pos = 107520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 103680, write pos = 107520
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 122880, write pos = 126720
313c:trace:dsound:DSBuffer_Lock (0619D900)->(103680, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06482410, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 122880, write pos = 126720
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 122880, write pos = 126720
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 122880, write pos = 126720
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 142080, write pos = 145920
313c:trace:dsound:DSBuffer_Lock (0619D900)->(122880, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06486F10, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 142080, write pos = 145920
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 142080, write pos = 145920
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 142080, write pos = 145920
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 161280, write pos = 165120
313c:trace:dsound:DSBuffer_Lock (0619D900)->(142080, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(0648BA10, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 161280, write pos = 165120
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 161280, write pos = 165120
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
313c:trace:dsound:DSBuffer_Lock (0619D900)->(161280, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06490510, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 180480, write pos = 184320
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
313c:trace:dsound:DSBuffer_Lock (0619D900)->(180480, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(06495010, 11520, 06468F10, 7680)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 7680, write pos = 11520
313c:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0682FEB8, 0682FEBC)
313c:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
313c:trace:dsound:DSBuffer_Lock (0619D900)->(7680, 19200, 0682FF00, 0682FF0C, 0682FF04, 0682FF08, 0x0)
313c:trace:dsound:DSBuffer_Unlock (0619D900)->(0646AD10, 19200, 00000000, 0)
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FD04, 0BF4FD00)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FCB0, 0BF4FCB4)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
1850:trace:dsound:DSBuffer_GetCurrentPosition (0619D900)->(0BF4FC94, 0BF4FC98)
1850:trace:dsound:DSBuffer_GetCurrentPosition 0619D900 Play pos = 26880, write pos = 30720
0538:trace:dsound:DSBuffer_Stop (0619D900)->()
0538:trace:dsound:DSBuffer_SetCurrentPosition (0619D900)->(0)
0538:trace:dsound:DSBuffer_Release (0619D900) ref 0
0538:trace:dsound:DSBuffer_Destroy Destroying 0619D900
0538:trace:dsound:DSData_Release Deleting 061762E0
0538:trace:dsound:DSPrimary_Stop (06179654)->()
0538:trace:dsound:DSPrimary_Release (06179654) ref 0
0538:trace:dsound:DS8_Release (06179630) ref 0
0538:trace:dsound:DSDevice_Destroy Destroying device instance 06179630
247c:trace:dsound:DSShare_thread Shared device (06181080) message loop quit
247c:trace:dsound:DllMain (6D5C0000, 3, 00000000)
1ef4:trace:dsound:DllMain (6D5C0000, 3, 00000000)
1598:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DSShare_Destroy Closed shared device 06181080
0988:trace:dsound:DllMain (6D5C0000, 3, 00000000)
1850:trace:dsound:DllMain (6D5C0000, 3, 00000000)
2de4:trace:dsound:DllMain (6D5C0000, 3, 00000000)
313c:trace:dsound:DllMain (6D5C0000, 3, 00000000)
2ba8:trace:dsound:DllMain (6D5C0000, 3, 00000000)
23a8:trace:dsound:DllMain (6D5C0000, 3, 00000000)
14d0:trace:dsound:DllMain (6D5C0000, 2, 00000000)
15a4:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DirectSoundEnumerateA (00921290, 00000000)
0538:trace:dsound:enumerate_mmdevices Calling back with NULL (Primary Sound Driver)
0538:trace:dsound:send_device Calling back with {be276bf1-7315-47e1-93d2-029c9c9bb270} - G0538:trace:dsound:DllGetClassObject ({47d4d946-62e8-11cf-93bc-444553540000}, {00000001-0000-0000-c000-000000000046}, 0019EA0C)
0538:trace:dsound:DSCF_AddRef (6D5EC020) ref 2
0538:trace:dsound:DSCF_CreateInstance (6D5EC020, 00000000, {279afa83-4981-11ce-a521-0020af0be560}, 0019EA24)
0538:trace:dsound:DSDevice_Create Creating device instance 03D641B8
0538:trace:dsound:DS8_AddRef (03D641B8) ref 1
0538:trace:dsound:DS8_AddRef (03D641B8) ref 2
0538:trace:dsound:DS8_Release (03D641B8) ref 1
0538:trace:dsound:DSCF_Release (6D5EC020) ref 1
0538:trace:dsound:DS_QueryInterface (03D641BC)->({279afa83-4981-11ce-a521-0020af0be560}, 0019FAD0)
0538:trace:dsound:DS8_AddRef (03D641B8) ref 2
0538:trace:dsound:DS8_Release (03D641B8) ref 1
0538:trace:dsound:DS8_Initialize (03D641B8)->((null))
0538:trace:dsound:GetDeviceID (DSDEVID_DefaultPlayback, 0019FA7C)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 105330F0
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
11a4:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
2f2c:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
0538:trace:dsound:DS8_GetCaps (03D641B8)->(10962F68)
0538:trace:dsound:DS8_Release (03D641B8) ref 0
0538:trace:dsound:DSDevice_Destroy Destroying device instance 03D641B8
30d8:trace:dsound:DllMain (6D5C0000, 2, 00000000)
30d8:trace:dsound:DSShare_thread Shared device (105330F0) message loop start
30d8:trace:dsound:DSShare_thread Shared device (105330F0) message loop quit
30d8:trace:dsound:DllMain (6D5C0000, 3, 00000000)
2f2c:trace:dsound:DllMain (6D5C0000, 3, 00000000)
11a4:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DSShare_Destroy Closed shared device 105330F0
0538:trace:dsound:DllGetClassObject ({47d4d946-62e8-11cf-93bc-444553540000}, {00000001-0000-0000-c000-000000000046}, 0019F7F8)
0538:trace:dsound:DSCF_AddRef (6D5EC020) ref 2
0538:trace:dsound:DSCF_CreateInstance (6D5EC020, 00000000, {279afa83-4981-11ce-a521-0020af0be560}, 0019F7C4)
0538:trace:dsound:DSDevice_Create Creating device instance 03D641B8
0538:trace:dsound:DS8_AddRef (03D641B8) ref 1
0538:trace:dsound:DSCF_Release (6D5EC020) ref 1
0538:trace:dsound:DS8_Initialize (03D641B8)->({be276bf1-7315-47e1-93d2-029c9c9bb270})
0538:trace:dsound:GetDeviceID ({be276bf1-7315-47e1-93d2-029c9c9bb270}, 0019FA7C)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 105330F0
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
28dc:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
1c10:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
0538:trace:dsound:DS8_GetCaps (03D641B8)->(10962FF0)
0538:trace:dsound:DS8_Release (03D641B8) ref 0
3104:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSDevice_Destroy Destroying device instance 03D641B8
3104:trace:dsound:DSShare_thread Shared device (105330F0) message loop start
3104:trace:dsound:DSShare_thread Shared device (105330F0) message loop quit
3104:trace:dsound:DllMain (6D5C0000, 3, 00000000)
1c10:trace:dsound:DllMain (6D5C0000, 3, 00000000)
28dc:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DSShare_Destroy Closed shared device 105330F0
0538:trace:dsound:DllGetClassObject ({47d4d946-62e8-11cf-93bc-444553540000}, {00000001-0000-0000-c000-000000000046}, 0019F7E8)
0538:trace:dsound:DSCF_AddRef (6D5EC020) ref 2
0538:trace:dsound:DSCF_CreateInstance (6D5EC020, 00000000, {279afa83-4981-11ce-a521-0020af0be560}, 0019F7B4)
0538:trace:dsound:DSDevice_Create Creating device instance 03D641B8
0538:trace:dsound:DS8_AddRef (03D641B8) ref 1
0538:trace:dsound:DSCF_Release (6D5EC020) ref 1
0538:trace:dsound:DS8_Initialize (03D641B8)->((null))
0538:trace:dsound:GetDeviceID (DSDEVID_DefaultPlayback, 0019FA70)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 105330F0
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
0c24:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
29ac:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
0538:trace:dsound:DS8_SetCooperativeLevel (03D641B8)->(00010010, 3)
0538:trace:dsound:DS8_Release (03D641B8) ref 0
0538:trace:dsound:DSDevice_Destroy Destroying device instance 03D641B8
1a48:trace:dsound:DllMain (6D5C0000, 2, 00000000)
1a48:trace:dsound:DSShare_thread Shared device (105330F0) message loop start
1a48:trace:dsound:DSShare_thread Shared device (105330F0) message loop quit
1a48:trace:dsound:DllMain (6D5C0000, 3, 00000000)
29ac:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0c24:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DSShare_Destroy Closed shared device 105330F0
0538:trace:dsound:DllGetClassObject ({47d4d946-62e8-11cf-93bc-444553540000}, {00000001-0000-0000-c000-000000000046}, 0019F7E8)
0538:trace:dsound:DSCF_AddRef (6D5EC020) ref 2
0538:trace:dsound:DSCF_CreateInstance (6D5EC020, 00000000, {279afa83-4981-11ce-a521-0020af0be560}, 0019F7B4)
0538:trace:dsound:DSDevice_Create Creating device instance 03D641B8
0538:trace:dsound:DS8_AddRef (03D641B8) ref 1
0538:trace:dsound:DSCF_Release (6D5EC020) ref 1
0538:trace:dsound:DS8_Initialize (03D641B8)->({be276bf1-7315-47e1-93d2-029c9c9bb270})
0538:trace:dsound:GetDeviceID ({be276bf1-7315-47e1-93d2-029c9c9bb270}, 0019FA70)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 105330F0
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
0fe0:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
3224:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
0538:trace:dsound:DS8_SetCooperativeLevel (03D641B8)->(00010010, 3)
0538:trace:dsound:DS8_Release (03D641B8) ref 0
261c:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSDevice_Destroy Destroying device instance 03D641B8
261c:trace:dsound:DSShare_thread Shared device (105330F0) message loop start
261c:trace:dsound:DSShare_thread Shared device (105330F0) message loop quit
261c:trace:dsound:DllMain (6D5C0000, 3, 00000000)
3224:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0fe0:trace:dsound:DllMain (6D5C0000, 3, 00000000)
0538:trace:dsound:DSShare_Destroy Closed shared device 105330F0
0538:trace:dsound:DllGetClassObject ({47d4d946-62e8-11cf-93bc-444553540000}, {00000001-0000-0000-c000-000000000046}, 0019F8A8)
0538:trace:dsound:DSCF_AddRef (6D5EC020) ref 2
0538:trace:dsound:DSCF_CreateInstance (6D5EC020, 00000000, {279afa83-4981-11ce-a521-0020af0be560}, 0019F874)
0538:trace:dsound:DSDevice_Create Creating device instance 03D641B8
0538:trace:dsound:DS8_AddRef (03D641B8) ref 1
0538:trace:dsound:DSCF_Release (6D5EC020) ref 1
0538:trace:dsound:DS8_Initialize (03D641B8)->({be276bf1-7315-47e1-93d2-029c9c9bb270})
0538:trace:dsound:GetDeviceID ({be276bf1-7315-47e1-93d2-029c9c9bb270}, 0019FB2C)
0538:trace:dsound:DS8_Initialize Searching shared devices for {be276bf1-7315-47e1-93d2-029c9c9bb270}
0538:trace:dsound:DSShare_Create Creating shared device 105330F0
0538:warn:dsound:DSShare_Create PKEY_AudioEndpoint_PhysicalSpeakers is not a ULONG: 0x0000
0538:trace:dsound:DSShare_Create Got speaker config 0:8 from physical speakers 0x00000000
0538:trace:dsound:DSShare_Create Opened AL device: OpenAL Soft on Głośnik/Słuchawki (Realtek High Definition Audio)
2b08:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found ALC_EXT_EFX
0538:trace:dsound:DSShare_Create Found AL_EXT_FLOAT32
0538:trace:dsound:DSShare_Create Found AL_EXT_MCFORMATS
0538:trace:dsound:DSShare_Create Found AL_SOFT_deferred_updates
1840:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSShare_Create Found AL_SOFT_source_spatialize
0538:trace:dsound:DSShare_Create Found AL_SOFTX_filter_gain_ex
0538:trace:dsound:DSShare_Create Found AL_SOFTX_map_buffer
0538:trace:dsound:DSShare_Create Got 2 auxiliary source sends
0538:trace:dsound:DSShare_Create Allocated 4 auxiliary effect slots
0538:trace:dsound:DSShare_Create Allocated 256 hardware sources and 256 software sources
0538:trace:dsound:DSShare_starttimer Calling timer every 13 ms for 50 refreshes per second
0538:trace:dsound:DS8_SetCooperativeLevel (03D641B8)->(00070750, 3)
0538:trace:dsound:DS8_Compact (03D641B8)->()
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FBBC, 009359D4, 00000000)
0c74:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x00000011
BufferBytes = 0
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSPrimary_AddRef (03D641DC) ref 1
0c74:trace:dsound:DSShare_thread Shared device (105330F0) message loop start
0538:trace:dsound:DSPrimary_Initialize (03D641DC)->(03D641BC, 0019FBBC)
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSPrimary_SetFormat (03D641DC)->(0019FBE0)
0538:trace:dsound:DSPrimary_SetFormat Requested primary format:
FormatTag = 0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSPrimary_QueryInterface (03D641DC)->({279afa84-4981-11ce-a521-0020af0be560}, 009359D8)
0538:trace:dsound:DSPrimary3D_AddRef (03D641E0) ref 1
0538:trace:dsound:DSPrimary3D_SetPosition (03D641E0)->(0.000000, 0.000000, 0.000000, 0)
0538:trace:dsound:DSPrimary3D_SetOrientation (03D641E0)->(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, 0)
0538:trace:dsound:DSPrimary3D_SetVelocity (03D641E0)->(0.000000, 0.000000, 0.000000, 0)
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095ACFC, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:fixme:dsound:DS8_CreateSoundBuffer Buffers with 3D and panning control ignore panning
0538:trace:dsound:DSBuffer_Initialize (063242C0)->(03D641BC, 0019FB6C)
0538:err:dsound:DSBuffer_Initialize Multi-channel 3D sounds are not spatialized
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (063242C0) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (063242C0)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AD00)
0538:trace:dsound:DSBuffer3D_AddRef (063242C4) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095AB7C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (0632457C)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (0632457C) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (0632457C)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AB80)
0538:trace:dsound:DSBuffer3D_AddRef (06324580) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095AC7C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (06324838)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (06324838) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (06324838)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AC80)
0538:trace:dsound:DSBuffer3D_AddRef (0632483C) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095ABDC, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (06324AF4)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (06324AF4) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (06324AF4)->({279afa86-4981-11ce-a521-0020af0be560}, 1095ABE0)
0538:trace:dsound:DSBuffer3D_AddRef (06324AF8) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095ABBC, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (06324DB0)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (06324DB0) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (06324DB0)->({279afa86-4981-11ce-a521-0020af0be560}, 1095ABC0)
0538:trace:dsound:DSBuffer3D_AddRef (06324DB4) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095ABFC, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (0632506C)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (0632506C) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (0632506C)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AC00)
0538:trace:dsound:DSBuffer3D_AddRef (06325070) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095AA3C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (06325328)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (06325328) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (06325328)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AA40)
0538:trace:dsound:DSBuffer3D_AddRef (0632532C) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095A95C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (063255E4)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (063255E4) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (063255E4)->({279afa86-4981-11ce-a521-0020af0be560}, 1095A960)
0538:trace:dsound:DSBuffer3D_AddRef (063255E8) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095ACDC, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (063258A0)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (063258A0) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (063258A0)->({279afa86-4981-11ce-a521-0020af0be560}, 1095ACE0)
0538:trace:dsound:DSBuffer3D_AddRef (063258A4) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095AB1C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (06325B5C)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (06325B5C) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (06325B5C)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AB20)
0538:trace:dsound:DSBuffer3D_AddRef (06325B60) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095A99C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (06325E18)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (06325E18) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (06325E18)->({279afa86-4981-11ce-a521-0020af0be560}, 1095A9A0)
0538:trace:dsound:DSBuffer3D_AddRef (06325E1C) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0019FB6C, 1095AA7C, 00000000)
0538:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000300f0
BufferBytes = 88200
0538:trace:dsound:DS8_CreateSoundBuffer Requested 3D algorithm GUID: {00000000-0000-0000-0000-000000000000}
0538:trace:dsound:DSBuffer_Initialize (063260D4)->(03D641BC, 0019FB6C)
0538:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 176400
BlockAlign = 4
BitsPerSample = 16
0538:trace:dsound:DSBuffer_AddRef (063260D4) ref 1
0538:trace:dsound:DS8_CreateSoundBuffer 00000000
0538:trace:dsound:DSBuffer_QueryInterface (063260D4)->({279afa86-4981-11ce-a521-0020af0be560}, 1095AA80)
0538:trace:dsound:DSBuffer3D_AddRef (063260D8) ref 1
2f00:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
0cc8:trace:dsound:DllMain (6D5C0000, 2, 00000000)
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x10
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x10
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x10
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x10
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x10
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
0538:trace:dsound:DSPrimary3D_SetRolloffFactor (03D641E0)->(1.000000, 1)
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x10
0538:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
0538:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00
2f00:trace:dsound:DSBuffer_GetFormat (063242C0)->(0FF9FE30, 18, 00000000)
2f00:trace:dsound:DSBuffer_GetCaps (063242C0)->(0FF9FE44)
2f00:trace:dsound:DSBuffer_Release (063242C0) ref 0
2f00:trace:dsound:DSBuffer3D_Release (063242C4) ref 0
2f00:trace:dsound:DSBuffer_Destroy Destroying 063242C0
2f00:trace:dsound:DSData_Release Deleting 06176330
2f00:trace:dsound:DS8_CreateSoundBuffer (03D641B8)->(0FF9FDD4, 1095ACFC, 00000000)
2f00:trace:dsound:DS8_CreateSoundBuffer Requested buffer:
Size = 36
Flags = 0x000100e0
BufferBytes = 88720
2f00:trace:dsound:DSBuffer_Initialize (063242C0)->(03D641BC, 0FF9FDD4)
2f00:trace:dsound:DSData_Create Requested buffer format:
FormatTag = 0x0001
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 177436
BlockAlign = 4
BitsPerSample = 16
2f00:warn:dsound:DSData_Create Invalid AvgBytesPerSec 177436 (expected 176400 = 44100*4)
2f00:trace:dsound:DSBuffer_Destroy Destroying 063242C0
2f00:trace:dsound:DS8_CreateSoundBuffer 80070057
2f00:trace:dsound:DSPrimary3D_CommitDeferredSettings Dirty flags was: 0x00

@justtoask
Copy link
Author

justtoask commented Feb 25, 2021

Can you help me? I already posted the log.

@kcat
Copy link
Owner

kcat commented Feb 25, 2021

If I were to guess, it seems it's expecting CreateSoundBuffer to succeed despite a wrong AvgBytesPerSec value, and it crashes when trying to use the buffer that failed to be made. Either that, or something is causing it to calculate a bad AvgBytesPerSec value.

Wine's tests suggest native dsound accepts AvgBytesPerSec values that are slightly off, though I don't know what the limit is (it doesn't accept 0, but it accepts it being 1 greater or lesser than expected).

@justtoask
Copy link
Author

Is there any way to fix it?

@kcat
Copy link
Owner

kcat commented Feb 25, 2021

Removing the

if(format->nAvgBytesPerSec != format->nBlockAlign*format->nSamplesPerSec)

check in DSData_Create may work around the problem. Can't say it won't create other problems, but assuming the app is otherwise well-behaved, it may be fine.

@justtoask
Copy link
Author

So something in the source code? If yes then great because I never did it!

@ThreeDeeJay
Copy link

Is there any way to fix it?

@justtoask If you or anyone else stumbling upon this thread haven't figured it out, this fixed it for me. https://community.pcgamingwiki.com/files/file/508-max-payne-sound-fix/
Extract into the Max Payne folder, then run MaxBatch.bat and press C to convert sound files, and wait till it finishes.
I'm not quite sure what modifications it's making but the included readme could provide some clues for @kcat to figure out if the problem can be mitigated on DSOAL's end without needing the sound fix.

@mirh
Copy link

mirh commented Apr 19, 2021

Max Payne is pretty hairy with directsound.
AFAIR the only thing the fix does is converting wavs.
In turn it seems like we are talking about converting the 4-bit mono files in 8-bit stereo.
My educate guess is that the problem is this
https://web.archive.org/web/20111107135324/http://msdn.microsoft.com/en-us/library/windows/desktop/ee416974(v=VS.85).aspx

@ThreeDeeJay
Copy link

@mirh Hmm interesting. Wonder if bit depth or something similar is what also causes GTA San Andreas to crash when entering a vehicle and radio is on. I've seen threads suggesting a pack that replaces sfx and streams or turning off EAX/audio acceleration altogether to get around the issue. I'll run some tests and will probably open an issue when I get a better idea of what's going on.

@mirh
Copy link

mirh commented Apr 21, 2021

SA comes with eax.dll, aka eax unified.. And there are already tentative fixes talking about downgrading its version.
Link there is dead but maybe you can check my collection of installers.

@justtoask
Copy link
Author

Is there any way to fix it?

@justtoask If you or anyone else stumbling upon this thread haven't figured it out, this fixed it for me. https://community.pcgamingwiki.com/files/file/508-max-payne-sound-fix/ Extract into the Max Payne folder, then run MaxBatch.bat and press C to convert sound files, and wait till it finishes. I'm not quite sure what modifications it's making but the included readme could provide some clues for @kcat to figure out if the problem can be mitigated on DSOAL's end without needing the sound fix.

Sorry for the really long answer, but I wanted to have better sound AND fix the sound issue and @ThreeDeeJay 's solution only uses the sound fix, which is outdated and it's now recommended to use indirectsound or ALchemy, but I wanted to use DSOAL. It still sucks that no one got any fix trough.

@ThreeDeeJay
Copy link

Is there any way to fix it?

@justtoask If you or anyone else stumbling upon this thread haven't figured it out, this fixed it for me. https://community.pcgamingwiki.com/files/file/508-max-payne-sound-fix/ Extract into the Max Payne folder, then run MaxBatch.bat and press C to convert sound files, and wait till it finishes. I'm not quite sure what modifications it's making but the included readme could provide some clues for @kcat to figure out if the problem can be mitigated on DSOAL's end without needing the sound fix.

Sorry for the really long answer, but I wanted to have better sound AND fix the sound issue and @ThreeDeeJay 's solution only uses the sound fix, which is outdated and it's now recommended to use indirectsound or ALchemy, but I wanted to use DSOAL. It still sucks that no one got any fix trough.

I'm not sure IndirectSound would help since it doesn't even emulate EAX if you consider it to be "better sound", but ALchemy sounds like a good alternative, at least till this can be solved in DSOAL.

Before and after conversion:
test

I'm not sure there's "quality loss" per se, but the conversion seems to add unwanted artifacts like noise and a faint beep at the end here:
Comparison
I inverted the converted WAV so you can hear the difference when both clips play at once, where you can hear the noise and beep.

On a side note, SFX files' sample rates vary wildly (22.05khz, 22.0khz, 33khz, 26khz) but the converted files I've seen so far retain the same sample rate. Only bit rate changes (from 4 to 8 bit, which doesn't really sound like a downgrade). But the issue seems to be either the script or SoX (probably an old version) are doing a poor conversion job. Perhaps there's a way to fix it so it does a proper/lossless conversion? I might look into it sometime, but I wouldn't get my hopes up.

SA comes with eax.dll, aka eax unified.. And there are already tentative fixes talking about downgrading its version. Link there is dead but maybe you can check my collection of installers.

Sorry I forgot to report back, but I tried all the eax.dll (unified) versions I could find, but they didn't fix the DSOAL crash when getting on motorcycles. The only thing that does fix it is going into the audio options and turning Radio EQ off and back on.

@kcat
Copy link
Owner

kcat commented Nov 20, 2021

4-bit ADPCM is better converted to 16-bit PCM instead of 8-bit. ADPCM is an adaptive compression method, where a block of samples starts with a 16-bit sample or two, followed by a run of the 4 bits per sample for the remainder of the block. Each of those 4 bits are used to calculate the next sample using the previous sample with some lookup tables and math. That wouldn't explain the beeping, but it could help with the overall noise.

@ThreeDeeJay
Copy link

4-bit ADPCM is better converted to 16-bit PCM instead of 8-bit. ADPCM is an adaptive compression method, where a block of samples starts with a 16-bit sample or two, followed by a run of the 4 bits per sample for the remainder of the block. Each of those 4 bits are used to calculate the next sample using the previous sample with some lookup tables and math. That wouldn't explain the beeping, but it could help with the overall noise.

You just hit the nail right on the head: 16-bit PCM seems to be our best bet for now.
I updated SoX and edited the script (attached) so it now converts the game audio files using that bit depth, and now it seems to retain the same audio quality (will need confirmation on that), and works with and without DSOAL.

Before - After comparison
Before - After comparison

Also I happen to have recorded some quick tests and even though imgur's compression doesn't help, here they are anyway:

DSOAL - New sound patch (1.12.1 beta)
DSOAL - Old sound patch (1.12)
IndirectSound + HeSuVi
Creative ALchemy + CMSS-3D

@justtoask tl;dr this patch should keep audio quality and be compatible with DSOAL. Let me know if this works for you:
Max Payne sound patch 1.12.1 beta.zip

@Kappa971
Copy link

Kappa971 commented Dec 7, 2021

@justtoask tl;dr this patch should keep audio quality and be compatible with DSOAL. Let me know if this works for you: Max Payne sound patch 1.12.1 beta.zip

Hi, I can confirm that the patch works. Thanks!

@justtoask
Copy link
Author

justtoask commented Jan 22, 2022

@justtoask tl;dr this patch should keep audio quality and be compatible with DSOAL. Let me know if this works for you: Max Payne sound patch 1.12.1 beta.zip

I honestly forgot about this thread, but I'll try it now and see if it'll work. I'll also include it with my mod pack.

@Kappa971
Copy link

Kappa971 commented Jan 22, 2022

It works, I've already tried it. But this, more than a fix, it converts Max Payne's audio files to wav and this increases the size of the game. It would be nice if DSOAL (or OpenAL Soft, I don't know), like ALchemy, natively supports Max Payne's audio format so as to avoid any kind of conversion. Anyway thanks @ThreeDeeJay for the patch :)

EDIT
Even the Audio files of GTA 3/Vice City are WAV ADPCM 4 bit, why in Max Payne they don't work with DSOAL instead?

@justtoask
Copy link
Author

justtoask commented Jan 22, 2022

Well it works, but only on SSD, on my HDD drive with the game installed it just freezes. I also wonder on weather I should close this issue.

@Kappa971
Copy link

Well it works, but only on SSD, on my HDD drive with the game installed it just freezes.

I use a HDD and the game works with this patch. Try reinstalling it.

I also wonder on weather I should close this issue.

You have to ask @kcat if he wants to implement a fix to make sure that the game with DSOAL doesn't crash without having to convert the audio files.

@justtoask
Copy link
Author

justtoask commented Jan 22, 2022

Well it works, but only on SSD, on my HDD drive with the game installed it just freezes.

I use a HDD and the game works with this patch. Try reinstalling it.

I meant that when I try converting the files the bat file just freezes (or seems like it).

@Kappa971
Copy link

I meant that when I try converting the files the bat file just freezes (or seems like it).

Try defragmenting the disc and reinstalling the game. It could also be that the disc is dying. Maybe someone else can give you some other useful advice.

@justtoask
Copy link
Author

I'll try, also do you know how to disable APM? I tried using this tool but it didn't work.

@justtoask
Copy link
Author

Also, here's what darkje (the creator of the sound fix) has to say:

Interesting... of course I've always known the conversion is not optimal for sound quality and the possibility to convert to 16b is also in sox, but it creates much bigger files. I have old test versions with 16b conversion I used for trying to solve issues before, but in those specific cases that was not the solution (I'm talking about 2012 or something like that)
I've also seen comparing the sound in a program shows minor differences, but I was never able to actually hear much difference between format, except for when it's running in original format on windows XP, that sounds noticeably better.

I've always assumed for most people the 8bit conversion would be acceptable for the time being and a better solution would quickly evolve, and never expected we would still be using it today. remember my original solution was a manual batch conversion with goldwave
http://forums.3drealms.com/vb/showthread.php?t=27985
after that I started looking for a command line tool so I could make it as a batch file, that's where sox came in.
haha back in 2007 ;)
quick (and dirty) fix of course, but it's held up over time because it works for most

@Kappa971
Copy link

Kappa971 commented Jan 22, 2022

I think this problem should be fixed in DSOAL so that this patch is no longer needed. Unfortunately the development of DSOAL seems rather slow, I guess because OpenAL Soft requires a lot of work... I hope that after the release of OpenAL Soft 1.22.0, @kcat will take a look at DSOAL :)

@mirh
Copy link

mirh commented Jan 22, 2022

By the gods, there's no conceivable way that a disk being solid state or not makes a difference.
It must be something else.

And problems with ADPCM doesn't really look about directsound at all.
It's more likely to be something with codecs, IMA vs MS or whatever.

@Kappa971
Copy link

Kappa971 commented Jan 25, 2022

By the gods, there's no conceivable way that a disk being solid state or not makes a difference. It must be something else.

And problems with ADPCM doesn't really look about directsound at all. It's more likely to be something with codecs, IMA vs MS or whatever.

With ALchemy the game does not crash, even without converting audio files. Some change to DirectSound from Windows Vista caused this bug as it happens both with and without DSOAL. If it has been fixed in ALchemy, I think it can also be resolved in DSOAL. But maybe I'm wrong.

@mirh
Copy link

mirh commented Jan 26, 2022

Right, sorry (this must be like the third time I forget this).
After some search, I spotted that the openal router and wrapper do have ADPCM support themselves. Whatever that means.
Maybe ALchemy is using some of that to reimplement the supposed automatic conversion? Or maybe it's just their wrapper has less strict checks than the spec would suggest to accommodate stupid app bugs.

Does it crash in XP if you break the imaadp32 and msadp32 codecs? And what if you disable hardware acceleration?
Intriguingly there's also the CorrectACMStreamOpen shim fix to address *something* with ADPCM.

@kcat
Copy link
Owner

kcat commented Jan 26, 2022

As far as I can tell, the issue is primarily because the DSound buffer is being created with an incorrect AverageBytesPerSecond value for a 44100hz 16-bit stereo buffer, probably as a result of whatever it's using internally to decompress the ADPCM audio. It's supplying the value 177436 when it should be 176400 (44100*2*2 = 176400, so 177436 is 1036 bytes too large). It's likely that older Windows/Creative/Alchemy were more forgiving with this parameter and allowed its creation anyway, whereas newer Windows and DSOAL are more strict, causing the buffer creation to fail which the game doesn't handle very well. Pre-converting the ADPCM files to plain PCM causes the game to load the file correctly since it doesn't need to use its own converter and is able to supply the correct value.

@Kappa971
Copy link

As far as I can tell, the issue is primarily because the DSound buffer is being created with an incorrect AverageBytesPerSecond value for a 44100hz 16-bit stereo buffer, probably as a result of whatever it's using internally to decompress the ADPCM audio. It's supplying the value 177436 when it should be 176400 (44100*2*2 = 176400, so 177436 is 1036 bytes too large). It's likely that older Windows/Creative/Alchemy were more forgiving with this parameter and allowed its creation anyway, whereas newer Windows and DSOAL are more strict, causing the buffer creation to fail which the game doesn't handle very well. Pre-converting the ADPCM files to plain PCM causes the game to load the file correctly since it doesn't need to use its own converter and is able to supply the correct value.

@kcat , it is very interesting, thanks for the explanation. Is there a way to make DSOAL behave like ALchemy (at least for this game) in order to avoid crashes and need to convert audio files to PCM WAV? If there is no way, I think then converting audios is the only solution, and then this issue can be closed.

@kcat
Copy link
Owner

kcat commented Jan 26, 2022

Presuming that's the actual problem (and not just a symptom where the real problem is elsewhere), it can be made to work by simply removing this check:
https://github.com/kcat/dsoal/blob/0f2e2f4e/buffer.c#L325

The nAvgBytesPerSec parameter is never really used here, so it's actual value doesn't matter at all for DSOAL. A more correct fix would be to find out how lenient older Windows/Creative/Alchemy is with the value, and make DSOAL work similarly.

@Kappa971
Copy link

Kappa971 commented Jan 26, 2022

Presuming that's the actual problem (and not just a symptom where the real problem is elsewhere), it can be made to work by simply removing this check: https://github.com/kcat/dsoal/blob/0f2e2f4e/buffer.c#L325

This seems to fix the game crash (For those who want to try: dsound.zip).
However, the following errors are present in the log file (even without removing the check):
0dd0:err:dsound:DSBuffer_Initialize Panning for multi-channel buffers is not supported
0dd0:fixme:dsound:DS8_CreateSoundBuffer Buffers with 3D and panning control ignore panning
0dd0:err:dsound:DSBuffer_Initialize Multi-channel 3D sounds are not spatialized

The nAvgBytesPerSec parameter is never really used here, so it's actual value doesn't matter at all for DSOAL. A more correct fix would be to find out how lenient older Windows/Creative/Alchemy is with the value, and make DSOAL work similarly.

I have a Creative sound card and therefore I can use ALchemy, can I help in any way?

For information, without using any wrapper, in Windows 11, the game doesn't crash but the music doesn't play in the main menu (Maybe other sounds are missing as well).

@mirh
Copy link

mirh commented Jan 26, 2022

Some ideas for the formula.

@Kappa971
Copy link

Apparently DSOAL seems to be the less lenient (than Windows/ALchemy).

@kcat
Copy link
Owner

kcat commented Feb 6, 2022

I added a hack to work around the crash with commit 4b05bc1. This may cause issues with some other games, though I don't suspect anything major will break. A win32 build is here and win64 here (they'll expire in a month).

@Kappa971
Copy link

Kappa971 commented Feb 6, 2022

I added a hack to work around the crash with commit 4b05bc1. This may cause issues with some other games, though I don't suspect anything major will break. A win32 build is here and win64 here (they'll expire in a month).

Thanks a lot @kcat! I guess this problem can be closed?

@ThreeDeeJay
Copy link

I can confirm the new DSOAL commit also works on my end with vanilla Max Payne 👍

@justtoask
Copy link
Author

I added a hack to work around the crash with commit 4b05bc1. This may cause issues with some other games, though I don't suspect anything major will break. A win32 build is here and win64 here (they'll expire in a month).

how to download it I'm a dumbass

@Kappa971
Copy link

Kappa971 commented Feb 8, 2022

how to download it I'm a dumbass

dsoal_07-02-2022.zip

@ThreeDeeJay
Copy link

On a side note, for anyone wondering, the positional listener being placed on Max instead of the camera also happens in XP with real CMSS-3D hardware.
DSOAL: https://i.imgur.com/sk9U1PK.mp4
XP CMSS-3D: https://youtu.be/1rObx4wVkwA

@Lrflx
Copy link

Lrflx commented Jul 7, 2022

Sorry to hijack this thread, but there's another problem with MP sounds that might be fixed with dsoal, though I'm not sure, cause it could be engine limitation this time. To be precise, when too much stuff is going on sounds start to skip really noticeably, found moment like that in the first random video on youtube I checked https://youtu.be/qj-p0Kis6KE?t=723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants