mciwave: Fix some MCI_STATUS return code.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Nov 3 04:46:30 CDT 2010


Hi,

I apologize for yesterdays test failure in mci.ok; somehow I
removed too much code from my tests. This patch merges a fix.

Now that we know that mciSendString() always returns a string,
I further removed most of the buf[0] preinitialisations.

BTW, MCI_WAVE_STATUS_LEVEL appears to report the recording
level.  It varies from 0 to 7 (at line-in's highest level in the volume mixer
control GUI) on one machine but this certainly depends on the soundcard.
Obviously it's not a value linearised to 0..FFFF like waveOUTGetVolume would return.

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mciwave-Fix-some-MCI_STATUS-return-code.patch
Type: application/octet-stream
Size: 12731 bytes
Desc: 0001-mciwave-Fix-some-MCI_STATUS-return-code.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101103/686c17e8/attachment-0001.obj>


More information about the wine-patches mailing list