[Mono-bugs] [Bug 496690] SoundPlayer playback is very choppy on Linux systems

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 21 18:15:35 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=496690

User cdhowie at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=496690#c2





--- Comment #2 from Chris Howie <cdhowie at gmail.com>  2009-04-21 16:15:35 MDT ---
Additionally, the WAV header is not skipped when doing the actual playback.  In
Mono.Audio.WavData:Play(AudioDevice) we find "stream.Position = 0;" which
rewinds the stream to the top of the file, but does not skip the header.  This
results in a rather unpleasant and sharp pop at the beginning of sounds. 
Changing this to "stream.Position = 12+32;" (to be consistent with the
constructor code) fixed this problem for me.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list