[Bug 20232] mciwave breaks on MSDN example

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 1 11:24:43 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20232





--- Comment #1 from Jörg Höhle <hoehle at users.sourceforge.net>  2009-10-01 11:24:43 ---
Created an attachment (id=23868)
 --> (http://bugs.winehq.org/attachment.cgi?id=23868)
winmm/tests/mci.c testcase work-in-progress

The MSDN example that breaks Wine is at
http://msdn.microsoft.com/en-us/library/dd798631(VS.85).aspx
Recording with a Waveform-Audio Device

The test should create a tempfile.wav of 2 seconds exactly. If you have no
microphone (I haven't), it'll record 2 seconds of (near) silence.

00000000: 5249 4646 4656 0000 5741 5645 666d 7420  RIFFFV..WAVEfmt 
00000010: 1000 0000 0100 0100 112b 0000 112b 0000  .........+...+..
00000020: 0100 0800 6461 7461 2256 0000 8080 8080  ....data"V......
                              ^^^^^^^^^
One bug in Wine is that the length of the data chunk is left as 0 because of
the switch from recording to playing.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list