http://bugs.winehq.org/show_bug.cgi?id=13204
--- Comment #5 from Rafał Mużyło galtgendo@o2.pl 2008-05-18 06:31:27 --- I'm happy to finally get some feedback. My answer is that you're both right and wrong. While after my patch, `wine winmm_test wave` output only:
fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer fixme:mixer:ALSA_MixerInit No master control found on VirMIDI, disabling mixer wave.c:1375:found 1 WaveOut devices wave.c:898: 0: "default" (winealsa: default) 1.0 (2:104) wave.c:901: channels=32 formats=0ffff support=002c wave.c:903: WAVECAPS_VOLUME WAVECAPS_LRVOLUME WAVECAPS_SAMPLEACCURATE wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_EVENT
then stops indefinitely, before that patch (in 1.0_rc1), the output was:
fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer fixme:mixer:ALSA_MixerInit No master control found on VirMIDI, disabling mixer wave.c:1375:found 1 WaveOut devices wave.c:898: 0: "default" (winealsa: default) 1.0 (2:104) wave.c:901: channels=32 formats=0ffff support=002c wave.c:903: WAVECAPS_VOLUME WAVECAPS_LRVOLUME WAVECAPS_SAMPLEACCURATE wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_EVENT wave.c:765: Test failed: The sound played for 1139 ms instead of 1000 ms wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_EVENT wave.c:739:pausing for 0.5 seconds wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_FUNCTION wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_FUNCTION wave.c:739:pausing for 0.5 seconds wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_THREAD wave.c:694:Playing 1 second silence at 22050x 8x1 1 header 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_THREAD wave.c:739:pausing for 0.5 seconds wave.c:694:Playing 1 second silence at 22050x 8x1 10 headers 0 loops 22050 bytes WAVE_FORMAT_PCM CALLBACK_EVENT and then it stopped indefinitely, too. So it was broken even before my patch.