News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Miscellaneous Forum
 
Bug in WaveFile class

Reply

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.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.