by 0xSF [0xsf dot il at gmail dot com] posted on 2008/02/16 |
|
there is a bug in the WaveFile class in the SetVolume() method.
you used int32 when u should have used Uint, then when u sent it with max volume as hex value (&HFFFF) on both chans there is an overflow, if u send it with -1 it works ok i think.
i found it on the VB.net port, maybe it exists in the C# one as well.
but bug or no bug thank u (all?) for this nice time saving class. |