http://bugs.winehq.org/show_bug.cgi?id=14588
--- Comment #39 from Raymond superquad.vortex2@gmail.com 2010-07-12 19:39:13 --- (In reply to comment #26)
Created an attachment (id=29355)
--> (http://bugs.winehq.org/attachment.cgi?id=29355) [details]
Log from Everyday Shooter with OSS and +wave debugging on Wine 1.2-rc6
It is strange that OSS_WaveInit was called twice
trace:wave:OSS_widMessage (0, DRVM_INIT, 00000000, 00000000, 00000000); trace:wave:OSS_WaveInit (0) trace:wave:OSS_WaveOutInit (0x21dbc400) /dev/dsp trace:wave:OSS_OpenDevice (0x21dbc400,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_RawOpenDevice (0x21dbc400,0) trace:wave:OSS_RawOpenDevice open_access=O_WRONLY trace:wave:OSS_WaveOutInit /dev/mixer: Nvidia MCP7A HDMI trace:wave:OSS_Info Formats=0005b1f9 ( AFMT_MU_LAW AFMT_U8 AFMT_S16_LE AFMT_S16_BE AFMT_S8 AFMT_U16_LE AFMT_U16_BE )
...
trace:wave:wodOpen OSS_OpenDevice requested this format: 44100x16x1 WAVE_FORMAT_PCM trace:wave:wodOpen requesting 16 512 byte fragments (5 ms/fragment) trace:wave:OSS_OpenDevice (0x21dbc400,1,0x323e208,1,44100,1,10) trace:wave:OSS_OpenDevice Opening RDWR because full_duplex=256 and req_access=1 trace:wave:OSS_RawOpenDevice (0x21dbc400,1) trace:wave:OSS_RawOpenDevice open_access=O_RDWR trace:wave:OSS_OpenDevice Calling SNDCTL_DSP_SETTRIGGER with 2 trace:wave:wodOpen got 16 512 byte fragments (5 ms/fragment) trace:wave:wodOpen fd=64 fragstotal=16 fragsize=512 BufferSize=8192 trace:wave:wodPlayer waiting 4294967295ms (4294967295,4294967295) trace:wave:wodOpen wBitsPerSample=16, nAvgBytesPerSec=88200, nSamplesPerSec=44100, nChannels=1 nBlockAlign=2!
...
trace:wave:OSS_widMessage (0, DRVM_INIT, 00000000, 00000000, 00000000); trace:wave:OSS_WaveInit (0) trace:wave:OSS_WaveOutInit (0x2003b400) /dev/dsp trace:wave:OSS_OpenDevice (0x2003b400,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_RawOpenDevice (0x2003b400,0) trace:wave:OSS_RawOpenDevice open_access=O_WRONLY warn:wave:OSS_RawOpenDevice Couldn't open /dev/dsp (Device or resource busy) trace:wave:OSS_WaveOutInit (0x2003b874) /dev/dsp1 trace:wave:OSS_OpenDevice (0x2003b874,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_WaveOutInit (0x2003bce8) /dev/dsp2 trace:wave:OSS_OpenDevice (0x2003bce8,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_WaveOutInit (0x2003c15c) /dev/dsp3 trace:wave:OSS_OpenDevice (0x2003c15c,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_WaveOutInit (0x2003c5d0) /dev/dsp4 trace:wave:OSS_OpenDevice (0x2003c5d0,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_WaveOutInit (0x2003ca44) /dev/dsp5 trace:wave:OSS_OpenDevice (0x2003ca44,1,(nil),0,-1,-1,ffffffff) trace:wave:OSS_WaveInInit (0x20039a00) /dev/dsp trace:wave:OSS_OpenDevice (0x20039a00,0,(nil),0,-1,-1,ffffffff) trace:wave:OSS_RawOpenDevice (0x20039a00,0) trace:wave:OSS_RawOpenDevice open_access=O_RDONLY warn:wave:OSS_RawOpenDevice Couldn't open /dev/dsp (Device or resource busy)