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

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=496690#c1





--- Comment #1 from Chris Howie <[email protected]>  2009-04-21 14:54:44 MDT ---
I have narrowed this problem down to the call to snd_pcm_writei that is being
called up the stack from Mono.Audio.WavData:Play(AudioDevice).

The call dev.PlaySample(buffer, read/frame_divider) confuses ALSA since it
considers one frame to be a complete sample for both channels.  So this bug is
only observable when playing stereo files.  The corrected line should read
dev.PlaySample(buffer, read/frame_divider/channels), or at least this works for
me.  If it's dependent on the AudioDevice to know this then perhaps the
division needs to be moved into the AlsaDevice class.

Either way the fix is trivial.

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to