mmdevapi: Do not mix frames and bytes.

Andrew Eikum aeikum at codeweavers.com
Wed Aug 24 07:50:05 CDT 2011


(Resending to include wine-devel. I'm still adjusting to mutt, sorry.)

On Wed, Aug 24, 2011 at 11:32:05AM +0200, Joerg-Cyril.Hoehle at t-systems.com wrote:
> what happened to that patch?

Sometimes things just get lost, especially with large disturbances
like AJ being on vacation. Just resend it.

> Perhaps there is too much understatement in the subject line.
> If you look at the code, not the patch, you'll see that
> alsa_wrap_buffer is called twice, once with bytes, once with frames.
> That is obviously wrong, so my patch puts frames everywhere.

Indeed, thanks. I noticed that it also changes the if-statement in
alsa_wrap_buffer for the better.

Andrew 



More information about the wine-devel mailing list