Wine-Devel
Threads by month
- ----- 2026 -----
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- 22 participants
- 84527 discussions
Please revert this patch. It is wrong and produces the following errors
in windows xp:
Francois Gouget wrote:
>
> I got errors when running the winmm test in interactive mode. Checking
> it on Windows it turns out that waveOutGetPosition() is supposed to
> return the number of samples played plus one, and not the number of
> samples played as the test expected. The number of bytes also reflects
> that extra sample.
> So I modified it accordingly.
>
>
> Changelog:
>
> * dlls/winmm/tests/wave.c
>
> Francois Gouget <fgouget(a)codeweavers.com>
> Fix the check_position() test: on Windows waveOutGetPosition()
> returns the number of samples played plus one (also one extra sample
> for the byte count).
>
>------------------------------------------------------------------------
>
>Index: dlls/winmm/tests/wave.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/tests/wave.c,v
>retrieving revision 1.30
>diff -u -r1.30 wave.c
>--- dlls/winmm/tests/wave.c 14 Jun 2004 17:54:45 -0000 1.30
>+++ dlls/winmm/tests/wave.c 19 Jul 2004 15:07:59 -0000
>@@ -204,18 +209,18 @@
> ok(rc==MMSYSERR_NOERROR,
> "waveOutGetPosition: device=%s rc=%s\n",dev_name(device),wave_out_error(rc));
> if (mmtime.wType == TIME_BYTES)
>- ok(mmtime.u.cb==duration*pwfx->nAvgBytesPerSec,
>+ ok(mmtime.u.cb==duration*pwfx->nAvgBytesPerSec+pwfx->wBitsPerSample/8,
> "waveOutGetPosition returned %ld bytes, should be %ld\n",
>- mmtime.u.cb, (DWORD)(duration*pwfx->nAvgBytesPerSec));
>+ mmtime.u.cb, (DWORD)(duration*pwfx->nAvgBytesPerSec)+pwfx->wBitsPerSample/8);
>
> mmtime.wType = TIME_SAMPLES;
> rc=waveOutGetPosition(wout, &mmtime, sizeof(mmtime));
> ok(rc==MMSYSERR_NOERROR,
> "waveOutGetPosition: device=%s rc=%s\n",dev_name(device),wave_out_error(rc));
> if (mmtime.wType == TIME_SAMPLES)
>- ok(mmtime.u.sample==duration*pwfx->nSamplesPerSec,
>+ ok(mmtime.u.sample==duration*pwfx->nSamplesPerSec+1,
> "waveOutGetPosition returned %ld samples, should be %ld\n",
>- mmtime.u.sample, (DWORD)(duration*pwfx->nSamplesPerSec));
>+ mmtime.u.sample, (DWORD)(duration*pwfx->nSamplesPerSec)+1);
>
> mmtime.wType = TIME_MS;
> rc=waveOutGetPosition(wout, &mmtime, sizeof(mmtime));
>
>
wave.c:514:found 4 WaveOut devices
wave.c:403: 0: "SB Live! Audio [DEA0]" (\\?\pci#ven_1102&dev_0002&subsys_80651102&rev_0a#4&1c660dd6&0&18f0#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wavecyc) 5.10 (1:100): channels=65535 formats=bffff support=002c(WAVECAPS_VOLUME WAVECAPS_LRVOLUME WAVECAPS_SAMPLEACCURATE)
wave.c:412:Playing a 5 seconds reference tone.
wave.c:413:All subsequent tones should be identical to this one.
wave.c:414:Listen for stutter, changes in pitch, volume, etc.
wave.c:311:Playing 5 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=5031
wave.c:208: Test failed: waveOutGetPosition returned 110250 bytes, should be 110251
wave.c:217: Test failed: waveOutGetPosition returned 110250 samples, should be 110251
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2 WAVE_MAPPED
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x2
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x1
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x2
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88201
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88201
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88201
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x1 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x2
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 176400 bytes, should be 176402
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 176400 bytes, should be 176402
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x2 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 176400 bytes, should be 176402
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x2
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x2
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x2
wave.c:326:sound duration=1047
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1032
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x2
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 384000 bytes, should be 384002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 384000 bytes, should be 384002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1031
wave.c:208: Test failed: waveOutGetPosition returned 384000 bytes, should be 384002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:462:Testing invalid format: 11 bits per sample
wave.c:483:Testing invalid format: 2 MHz sample rate
wave.c:403: 1: "SB Audigy 2 ZS Audio [DEC0]" (\\?\pci#ven_1102&dev_0004&subsys_20021102&rev_04#4&1c660dd6&0&08f0#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wavepci) 5.10 (1:100): channels=65535 formats=bffff support=002c(WAVECAPS_VOLUME WAVECAPS_LRVOLUME WAVECAPS_SAMPLEACCURATE)
wave.c:412:Playing a 5 seconds reference tone.
wave.c:413:All subsequent tones should be identical to this one.
wave.c:414:Listen for stutter, changes in pitch, volume, etc.
wave.c:311:Playing 5 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=5000
wave.c:208: Test failed: waveOutGetPosition returned 110250 bytes, should be 110251
wave.c:217: Test failed: waveOutGetPosition returned 110250 samples, should be 110251
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1
wave.c:326:sound duration=984
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1
wave.c:326:sound duration=984
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=984
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=984
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=984
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88201
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88201
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88201
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 88200 bytes, should be 88202
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 176400 bytes, should be 176402
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 176400 bytes, should be 176402
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 44100x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 176400 bytes, should be 176402
wave.c:217: Test failed: waveOutGetPosition returned 44100 samples, should be 44101
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x1
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 48000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 48000 samples, should be 48001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 96000 bytes, should be 96001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192001
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 192000 bytes, should be 192002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 384000 bytes, should be 384002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 384000 bytes, should be 384002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 96000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 384000 bytes, should be 384002
wave.c:217: Test failed: waveOutGetPosition returned 96000 samples, should be 96001
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:462:Testing invalid format: 11 bits per sample
wave.c:483:Testing invalid format: 2 MHz sample rate
wave.c:403: 2: "Creative Sound Blaster PCI" (\\?\pci#ven_1274&dev_5880&subsys_80011274&rev_04#4&1c660dd6&0&10f0#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave) 5.10 (1:100): channels=65535 formats=bffff support=002c(WAVECAPS_VOLUME WAVECAPS_LRVOLUME WAVECAPS_SAMPLEACCURATE)
wave.c:412:Playing a 5 seconds reference tone.
wave.c:413:All subsequent tones should be identical to this one.
wave.c:414:Listen for stutter, changes in pitch, volume, etc.
wave.c:311:Playing 5 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=5000
wave.c:208: Test failed: waveOutGetPosition returned 110250 bytes, should be 110251
wave.c:217: Test failed: waveOutGetPosition returned 110250 samples, should be 110251
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 8000 bytes, should be 8001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 8000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 8000 samples, should be 8001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 16000 bytes, should be 16001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32001
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 32000 bytes, should be 32002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 16000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 64000 bytes, should be 64002
wave.c:217: Test failed: waveOutGetPosition returned 16000 samples, should be 16001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 12000x16x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 48000 bytes, should be 48002
wave.c:217: Test failed: waveOutGetPosition returned 12000 samples, should be 12001
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 11025 bytes, should be 11026
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1000
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22052
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 11025x16x2 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 11025 samples, should be 11026
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x1 WAVE_MAPPED
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 22050 bytes, should be 22051
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2 WAVE_FORMAT_DIRECT
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x 8x2 WAVE_MAPPED
wave.c:326:sound duration=1015
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44101
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1
wave.c:326:sound duration=1016
wave.c:208: Test failed: waveOutGetPosition returned 44100 bytes, should be 44102
wave.c:217: Test failed: waveOutGetPosition returned 22050 samples, should be 22051
wave.c:311:Playing 1 second 440Hz tone at 22050x16x1 WAVE_FORMAT_DIRECT
3
3
I would like to change the wave tests to always play and record
so all code paths can be exercised. A normal run for a single
sound card takes over 2 minutes so the test times out before
test completion.
Has anyone considered changing the timeout logic to be reset
every time something is printed? This would allow long tests
that periodically output something to run more than 2 minutes.
Timeout would only occur 2 minutes after the last output.
3
2
SMPTE support in windows is not a hardware feature. winmm just
takes the byte count read/written and converts it to a different format.
Windows rounds up partial frames (hence ceil). I thought it was strange
but thats what it does.
There is also an off by one bug in msacm pcm conversions which triggers
on certain conversions.
The only way to confirm windows behaviors is to run the winmm test in
interactive mode. winetest would need to be changes to run it that way
and the tests could take longer than the timeout period when multiple
sound cards are present.
Could we please run the winmm tests in interactive mode by default
and then make changes if necessary to duplicate windows behavior
rather than just making untested changes. The winmm tests work fine
on my hardware in windows xp as is and also in wine except for the
msacm off by one bug with certain format conversions.
Francois Gouget wrote:
>
> I got failures when running the winmm conformance test in Wine:
>
> wave.c:239: Test failed: waveOutGetPosition returned 0:0:5 1, should
> be 0:0:5 0
>
> This test checks that waveOutGetPosition() returns the correct value
> when asked for the TIMP_SMPTE position but Wine would systematically
> return 1 as the frame instead of 0.
>
> First I tried to check what Windows did in that case but I was not
> able to find a Windows version that supports the TIME_SMPTE format
> (tried Win95, Win98, NT4, WinXP). This means applications are unlikely
> to actually ever use this... maybe this is a 16bit thing.
>
> The reason why Wine always returns 1 in the frame is a combination of
> two factors:
>
> * we start from dwPlayedTotal which is always the number of played
> samples plus 1. So if we played 1 second at 48000x8x1 we'd get 48004
> instead of 48000.
> * then convert this into hours, minutes, seconds and the remainder
> (8.3e-5) gives us the frames. But we use ceil() which converts that to 1!
>
> So I just modified each driver's implementation to use round() instead
> of ceil(). IMO ceil() is the wrong tool for the job. With floats,
> after a few operations you quickly end up with 1e-30 or -1e-30, but
> never with big round 0. So ceil() is going to give you 0 or 1
> quasi-randomly. At least round() behaves sanely.
>
> Maybe we should also remove that one extra sample but given I have not
> been able to confirm the Windows behavior I'd rather not worry about it.
> I'm willing to change my mind if someone feels strongly about it or
> can provide more data about how Windows really behaves.
>
>
> Changelog:
>
> * dlls/winmm/winealsa/audio.c
> dlls/winmm/winearts/audio.c
> dlls/winmm/wineaudioio/audio.c
> dlls/winmm/winejack/audio.c
> dlls/winmm/winenas/audio.c
> dlls/winmm/wineoss/audio.c
>
> Francois Gouget <fgouget(a)codeweavers.com>
> Use round() instead of ceil() in wodGetPosition(TIME_SMPTE).
> Fixes the corresponding winmm conformance test.
>
>
>------------------------------------------------------------------------
>
>Index: dlls/winmm/winealsa/audio.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/winealsa/audio.c,v
>retrieving revision 1.45
>diff -u -r1.45 audio.c
>--- dlls/winmm/winealsa/audio.c 14 Jun 2004 16:59:34 -0000 1.45
>+++ dlls/winmm/winealsa/audio.c 16 Jul 2004 23:11:24 -0000
>@@ -1873,7 +1873,7 @@
> time -= lpTime->u.smpte.min * 60;
> lpTime->u.smpte.sec = time;
> time -= lpTime->u.smpte.sec;
>- lpTime->u.smpte.frame = ceil(time * 30);
>+ lpTime->u.smpte.frame = round(time * 30);
> lpTime->u.smpte.fps = 30;
> TRACE("TIME_SMPTE=%02u:%02u:%02u:%02u\n",
> lpTime->u.smpte.hour, lpTime->u.smpte.min,
>Index: dlls/winmm/winearts/audio.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/winearts/audio.c,v
>retrieving revision 1.20
>diff -u -r1.20 audio.c
>--- dlls/winmm/winearts/audio.c 15 Jun 2004 20:25:11 -0000 1.20
>+++ dlls/winmm/winearts/audio.c 16 Jul 2004 23:11:36 -0000
>@@ -1427,7 +1427,7 @@
> time -= lpTime->u.smpte.min * 60;
> lpTime->u.smpte.sec = time;
> time -= lpTime->u.smpte.sec;
>- lpTime->u.smpte.frame = ceil(time * 30);
>+ lpTime->u.smpte.frame = round(time * 30);
> lpTime->u.smpte.fps = 30;
> TRACE("TIME_SMPTE=%02u:%02u:%02u:%02u\n",
> lpTime->u.smpte.hour, lpTime->u.smpte.min,
>Index: dlls/winmm/wineaudioio/audio.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/wineaudioio/audio.c,v
>retrieving revision 1.12
>diff -u -r1.12 audio.c
>--- dlls/winmm/wineaudioio/audio.c 1 Jun 2004 20:22:11 -0000 1.12
>+++ dlls/winmm/wineaudioio/audio.c 16 Jul 2004 23:11:48 -0000
>@@ -1121,7 +1121,7 @@
> time -= lpTime->u.smpte.min * 60;
> lpTime->u.smpte.sec = time;
> time -= lpTime->u.smpte.sec;
>- lpTime->u.smpte.frame = ceil(time * 30);
>+ lpTime->u.smpte.frame = round(time * 30);
> lpTime->u.smpte.fps = 30;
> TRACE("TIME_SMPTE=%02u:%02u:%02u:%02u\n",
> lpTime->u.smpte.hour, lpTime->u.smpte.min,
>Index: dlls/winmm/winejack/audio.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/winejack/audio.c,v
>retrieving revision 1.12
>diff -u -r1.12 audio.c
>--- dlls/winmm/winejack/audio.c 1 Jun 2004 20:22:11 -0000 1.12
>+++ dlls/winmm/winejack/audio.c 16 Jul 2004 23:12:01 -0000
>@@ -1591,7 +1591,7 @@
> time -= lpTime->u.smpte.min * 60;
> lpTime->u.smpte.sec = time;
> time -= lpTime->u.smpte.sec;
>- lpTime->u.smpte.frame = ceil(time * 30);
>+ lpTime->u.smpte.frame = round(time * 30);
> lpTime->u.smpte.fps = 30;
> TRACE("TIME_SMPTE=%02u:%02u:%02u:%02u\n",
> lpTime->u.smpte.hour, lpTime->u.smpte.min,
>Index: dlls/winmm/winenas/audio.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/winenas/audio.c,v
>retrieving revision 1.14
>diff -u -r1.14 audio.c
>--- dlls/winmm/winenas/audio.c 1 Jun 2004 20:22:11 -0000 1.14
>+++ dlls/winmm/winenas/audio.c 16 Jul 2004 23:13:14 -0000
>@@ -1165,7 +1165,7 @@
> time -= lpTime->u.smpte.min * 60;
> lpTime->u.smpte.sec = time;
> time -= lpTime->u.smpte.sec;
>- lpTime->u.smpte.frame = ceil(time * 30);
>+ lpTime->u.smpte.frame = round(time * 30);
> lpTime->u.smpte.fps = 30;
> TRACE("TIME_SMPTE=%02u:%02u:%02u:%02u\n",
> lpTime->u.smpte.hour, lpTime->u.smpte.min,
>Index: dlls/winmm/wineoss/audio.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/winmm/wineoss/audio.c,v
>retrieving revision 1.134
>diff -u -r1.134 audio.c
>--- dlls/winmm/wineoss/audio.c 14 Jul 2004 21:44:50 -0000 1.134
>+++ dlls/winmm/wineoss/audio.c 16 Jul 2004 23:08:18 -0000
>@@ -2123,7 +2123,7 @@
> time -= lpTime->u.smpte.min * 60;
> lpTime->u.smpte.sec = time;
> time -= lpTime->u.smpte.sec;
>- lpTime->u.smpte.frame = ceil(time * 30);
>+ lpTime->u.smpte.frame = round(time * 30);
> lpTime->u.smpte.fps = 30;
> TRACE("TIME_SMPTE=%02u:%02u:%02u:%02u\n",
> lpTime->u.smpte.hour, lpTime->u.smpte.min,
>
>
2
3
Jonathan Wilson wrote:
>> This is the best things to do but the problem is not always obvious.
>> If REing does not give significant result, I would suggest to check
>> how the function behaves in windows
>> and implement the same behaviour with maybe a big comment about
>> ChessMaster 9000.
>
> I suggest that some kind of windows API hook (I have done direct3d
> hooking before so I know it can be done) or API spy to find ouit just
> what gets passed by chessmaster on windows would be a good idea.
This would be great but how do you do with COM objects. What did you do
for your direct3d hooking.
BTW, I remember I had a problem with a registry key that was closed and
read afterwards.
I've never figured out why the app closes this key. API hooking would
have been usefull.
Is there something available for doing that?
>
> If chessmaster passes the same thing on windows, one can figure out
> what to do with it.
> If it doesnt, one can figure out why wine is being passed bad input...
>
>
3
3
emmanuel maillard <e.rsz(a)libertysurf.fr> writes:
> This patch remove granularity check in NtAllocateVirtualMemory for
> Darwin, because teb can be alloc at
> address < granularity_mask (0xffff)
This must be avoided, nothing should be allocated below 64K, the
Windows API depends on that. You probably need to adapt the memory
reservation code to reserve the low 64K on Darwin.
--
Alexandre Julliard
julliard(a)winehq.org
1
0
Hello,
My problem is related to 'out of tree builds'. When i have a changed spec
file for a dll in the build tree it does not get used. The spec file from the
source tree is used.
Can this be fixed?
Thanks Stefan
2
3
Hello,
It seems urlmon is missing a (stubbed) IInternetSecurityManager Interface
(see also
http://msdn.microsoft.com/workshop/security/szone/reference/ifaces/iinterne…
).
Since I am new to this, I was wondering how I can create a stubbed
implementation. As far as I can tell I need to :
* update the urlmon.idl (add IInternetSecurityManager)
* create a stubbed implemenation in dlls/urlmon/; making sure the stubbed
interface also gets registered during 'wineprefixcreate'.
Are there any (wine) pointers on implementing a new (stubbed) COM interface?
Best regards,
Jeroen Janssen
4
4
Am Montag, 19. Juli 2004 02:47 schrieb Robert Shearman:
> Michael Jung wrote:
> >Hello,
> >
> >The original CryptAcquireContextA had some issues with memory management
> >in failure conditions, resulting in heap corruption under certain
> >cirumstances. I've reimplemented this function, checking behaviour against
> >Windows XP Prof. There is also a unit test included in the patch, which
> >tests CryptAcquireContext and successfully runs to completion on
> >both Windows XP and Wine. The patch looks worse than it is, since diff
> >believes to have found similarities between my new implementation and the
> >original CryptAcquireContextA.
>
> Alexandre has already modified CryptAcquireContextA to fix the original
> problem, but I'll comment on the patch anyway.
...
> Two comments:
> 1. This seems like overkill - a new function *and* a new structure to go
> with it?
> 2. Use CRYPT_Free instead of HeapFree in case someone in the future
> changes the memory to routines to some non-Heap* (or remove the CRYPT
> memory routines altogether)
>
>
> ...
>
> Your patch does highlight one issue though - we should be freeing all of
> the resource from one path, not multiple paths and the best way to do
> this is how it is currently done - by using a goto.
> Maybe we could simplify the function by putting chunks into new
> functions, but certainly not a new function just to release local
> resources.
>
> Rob
Hi Rob,
The original CryptAcquireContextA had a couple of memory management issues
and Alexandre's patch only takes care of one. Furthermore, the original
implementation does not comply to Windows behaviour regarding error
reporting. The unit test given in the patch succesfully runs to completion on
both Windows XP Professional and Wine, but only with the new
CryptAcquireContext.
The function and the structure are used to keep the CryptAcquireContext
function body more readable. As you pointed out, this could also be achieved
with goto's and a labeled cleanup section (Though not as compact, since you
still would have to do a "SetLastError(..); goto error;", which requires an
additional pair of curly braces ;) ). Personally I don't like goto's, but
this is perhaps a position too academic. So if the wine community favours the
goto approach, I will be happy to modify the code.
The patch uses the HeapAlloc function only for memory blocks, which are
completely memory managed inside CryptAcquireContext. This means that the
implementation of CRYPT_Free is irrelevant here. As far as I understand it,
HeapAlloc is the way to go in new code. Am I correct here?
Since I'm new to wine, I don't have a firm understanding of the coding
conventions. Could some more people comment on the given patch, please? This
would help me to get a better picture.
Thanks and greetings,
Michael
1
0
hi all,
i´m trying to get the djing app "native instruments traktor dj studio"
to work under recent wine versions. i´m running fc2 with kernel
2.6.6.1-435 on a dell laptop. when only using one stereo channel, the
app really runs fine, but for djing you need monitor support, which
means to use 4 channels of a quadrophonic sound card (my one is a audigy
nx, but same for the intenal card). the means using the ds subsystem,
since mm is not capable of using 4 channels..
i recently posted this question to wine-users, but i traced the error a
bit more and think its more of interest to developers. if you guys can
give me some hints one the sourcecode, may be i´m able to fix the
problem..
the problem is:
djstudio when started up the first time wants to know which device and
which driver to use. therefor a dropdown lists pops up, wher the devices
and the available drivers are listed (eg. mm, ds, asio, etc..) when
choosing a driver i can then assign audio channels for monitoring and
master.
now, with wine and wineoss driver djstudio correctly lists the
audio-devices available, and with mm two channels are provided for
either the master or monitor audio channel. but when i choose the "ds
driver" no channels are supported. i think the problem is located in the
lowlevel wineoss driver, where DirectSoundCreate is something confusing
with GUIDs.
detail:
wine-20040615, WINEDEBUG=trace+dsound,warn+dsound lists
<--snip-->
trace:dsound:DirectSoundEnumerateA calling
lpDSEnumCallback(NULL,"Primary Sound Driver","wineoss.drv",0x556efb1c)
trace:dsound:DirectSoundEnumerateA calling
lpDSEnumCallback({bd6dd71a-3deb-11d1-b171-00c04fc20000},"SigmaTel
STAC9750/51","wineoss.drv",0x556efb1c)
trace:dsound:DirectSoundCaptureEnumerateA (0x60ce54,0x556efb1c)
trace:dsound:GetDeviceID (0x55bd1868,0x556ef818)
trace:dsound:DirectSoundCaptureEnumerateA calling
lpDSEnumCallback(NULL,"Primary Sound Capture
Driver","wineoss.drv",0x556efb1c)
trace:dsound:DirectSoundCaptureEnumerateA calling
lpDSEnumCallback({bd6dd71b-3deb-11d1-b171-00c04fc20000},"SigmaTel
STAC9750/51","wineoss.drv",0x556efb1c)
trace:dsound:DirectSoundCreate8
({58d80060-2a50-5ba7-b171-00c04038a75b},0x5ba71010,(nil))
trace:dsound:setup_dsound_options appname =
[TraktorDJStudio2Demo.exe\dsound]
warn:dsound:setup_dsound_options ds_hw_accel = Emulation (default=Full)
trace:dsound:GetDeviceID (0x556ef818,0x556edb84)
trace:dsound:DirectSoundCreate8 expecting GUID
{58d80060-2a50-5ba7-b171-00c04038a75b}.
trace:dsound:DirectSoundCreate8 got GUID
{bd6dd71a-3deb-11d1-b171-00c04fc20000} for wod 0.
warn:dsound:DirectSoundCreate8 No device found matching given ID -
trying with default one !
<--snap-->
trace:dsound:IDirectSoundImpl_SetCooperativeLevel
(0x55241ce8,00010024,2(DSSCL_PRIORITY))
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY
not fully supported
<--snap II>
as you can see the internal hw device "SigmaTel STAC9750/51" of my
laptop is listed. then tow problems occur
1) DirectSoundCreate8 receives a wrong GUID (whatever that meens??)
2) SetCooperativeLevel level is not fully supported (whatever that
meens??)
in wine-20040716 the SetCooperativeLevel seems to be fixed and
DirectSoundCreate8 switched to DirectSoundCreate but also recieves a
wrong GUID, which i think thats the main reason traktor won´t list
channels. i think, traktor is checking, if the device is really there
now, i read something about a related problem
(http://www.winehq.org/hypermail/wine-devel/2004/05/0022.html)
the patch, which is in the actual sourcecode,
...
This->pDirectSound = (IDirectSound*) pDirectSound;
IDirectSound_AddRef((LPDIRECTSOUND) This->pDirectSound);
} else {
DirectSoundCreate8(NULL, (LPDIRECTSOUND8*) &This->pDirectSound, NULL);
...
i think always trys to get the default device with the NULL paramter..
am i right, i dont really know??
please, can you help i some way, why the GUID is wrong (maybe my setup) or where to experiment with the sourcecode ??
thankx in advance&all the best
christoph
ps: the djstudio demo is available at www.nativeinstruments.com
--
dipl.-ing. christoph kunz
fraunhofer institut fuer arbeitswirtschaft und organisation
competence center softwaretechnik
nobelstrasse 12
d-70569 stuttgart
germany
fon: +49 (0)711 - 970 2314
fax: +49 (0)711 - 970 2300
mail: christoph.kunz(a)iao.fhg.de
icq#: 49335597
web: http://www.iao.fhg.de
pgp#: 12AF7964(a)wwwkey.pgp.net
1
0
Please don't apply this patch. The point of the test is to test the
QueryInterface reference
counting which you just removed. Please just fix the flag bug and not
remove the point of
the test.
Francois Gouget wrote:
> This fixes another dsound Windows crash: we first create a buffer
> without DSBCAPS_CTRL3D, then we query the IDirectSound3DBuffer on it
> which obviously fails so that we try to do an AddRef on a NULL pointer
> (buffer3d).
>
> But this 3D buffer is not really needed for this test since we already
> have the secondary buffer reference. Also MSDN recommends only using
> CDSBCAPS_TRL3D when necessary because DirectSound can optimize things
> when it's not specified. It may not yet be the case in Wine but I'd
> prefer to keep the dsound.c test as simple as possible. So I removed
> all references to this 3D buffer. I also went through the caps we
> request on our buffers and remove all the unneeded ones.
>
>
> Changelog:
>
> * dlls/dsound/tests/dsound.c
>
> Francois Gouget <fgouget(a)codeweavers.com>
> Don't try to create a IDirectSound3DBuffer, partly to keep this
> test simple and partly because it's going to fail since we did not
> request DSBCAPS_CTRL3D. Fixes a crash on Windows.
> Don't request unneeded caps.
>
>------------------------------------------------------------------------
>
>Index: dlls/dsound/tests/dsound.c
>===================================================================
>RCS file: /var/cvs/wine/dlls/dsound/tests/dsound.c,v
>retrieving revision 1.24
>diff -u -r1.24 dsound.c
>--- dlls/dsound/tests/dsound.c 13 Jul 2004 23:35:09 -0000 1.24
>+++ dlls/dsound/tests/dsound.c 16 Jul 2004 17:07:59 -0000
>@@ -336,18 +342,13 @@
> init_format(&wfx,WAVE_FORMAT_PCM,11025,8,1);
> ZeroMemory(&bufdesc, sizeof(bufdesc));
> bufdesc.dwSize=sizeof(bufdesc);
>- bufdesc.dwFlags=DSBCAPS_GETCURRENTPOSITION2;
>- bufdesc.dwFlags|=(DSBCAPS_CTRLVOLUME|DSBCAPS_CTRLPAN);
>+ bufdesc.dwFlags=DSBCAPS_GETCURRENTPOSITION2 | DSBCAPS_CTRLVOLUME;
> bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec*BUFFER_LEN/1000;
> bufdesc.lpwfxFormat=&wfx;
> rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL);
> ok(rc==DS_OK && secondary!=NULL,"CreateSoundBuffer failed to create a secondary buffer 0x%lx\n", rc);
> if (rc==DS_OK && secondary!=NULL) {
>- LPDIRECTSOUND3DBUFFER buffer3d;
>- rc=IDirectSound_QueryInterface(secondary, &IID_IDirectSound3DBuffer, (void **)&buffer3d);
>- ok(rc==DS_OK && buffer3d!=NULL,"QueryInterface failed: %s\n",DXGetErrorString9(rc));
> /* add some more refs */
>- IDirectSound3DBuffer_AddRef(buffer3d);
> IDirectSoundBuffer_AddRef(secondary);
> }
> /* release with buffer */
>@@ -459,18 +460,13 @@
> init_format(&wfx,WAVE_FORMAT_PCM,11025,8,1);
> ZeroMemory(&bufdesc, sizeof(bufdesc));
> bufdesc.dwSize=sizeof(bufdesc);
>- bufdesc.dwFlags=DSBCAPS_GETCURRENTPOSITION2;
>- bufdesc.dwFlags|=(DSBCAPS_CTRLVOLUME|DSBCAPS_CTRLPAN);
>+ bufdesc.dwFlags=DSBCAPS_GETCURRENTPOSITION2 | DSBCAPS_CTRLVOLUME;
> bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec*BUFFER_LEN/1000;
> bufdesc.lpwfxFormat=&wfx;
> rc=IDirectSound8_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL);
> ok(rc==DS_OK && secondary!=NULL,"CreateSoundBuffer failed to create a secondary buffer 0x%lx\n", rc);
> if (rc==DS_OK && secondary!=NULL) {
>- LPDIRECTSOUND3DBUFFER buffer3d;
>- rc=IDirectSound8_QueryInterface(secondary, &IID_IDirectSound3DBuffer, (void **)&buffer3d);
>- ok(rc==DS_OK && buffer3d!=NULL,"QueryInterface failed: %s\n",DXGetErrorString9(rc));
> /* add some more refs */
>- IDirectSound3DBuffer_AddRef(buffer3d);
> IDirectSoundBuffer8_AddRef(secondary);
> }
> /* release with buffer */
>@@ -614,7 +617,6 @@
> ZeroMemory(&bufdesc, sizeof(bufdesc));
> bufdesc.dwSize=sizeof(bufdesc);
> bufdesc.dwFlags=DSBCAPS_PRIMARYBUFFER;
>- bufdesc.dwFlags|=(DSBCAPS_CTRLVOLUME|DSBCAPS_CTRLPAN);
> rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&primary,NULL);
> ok(rc==DS_OK && primary!=NULL,"CreateSoundBuffer failed to create a primary buffer 0x%lx\n", rc);
>
>@@ -625,7 +627,6 @@
> ZeroMemory(&bufdesc, sizeof(bufdesc));
> bufdesc.dwSize=sizeof(bufdesc);
> bufdesc.dwFlags=DSBCAPS_GETCURRENTPOSITION2;
>- bufdesc.dwFlags|=(DSBCAPS_CTRLFREQUENCY|DSBCAPS_CTRLVOLUME|DSBCAPS_CTRLPAN);
> bufdesc.dwBufferBytes=wfx.nAvgBytesPerSec*BUFFER_LEN/1000;
> bufdesc.lpwfxFormat=&wfx;
> trace(" Testing a secondary buffer at %ldx%dx%d\n",
>
>
2
2