[MPlayer-dev-eng] [PATCH] Fix playback of 24-bit audio when sndio ao is used

Alexandre Ratchov alex at caoua.org
Thu Feb 27 23:14:44 CET 2014


On Thu, Feb 27, 2014 at 12:19:53AM -0500, Brad Smith wrote:
> Here is a diff from Alexandre Ratchov to fix 24-bit audio with the sndio
> backend. Without the diff playing 24-bit audio results in white noise.
> 

Thanks, Brad. FWIW, the bug is that we don't set and check par.msb,
and we end-up with the wrong encoding (ex. 24 bits lsb-aligned in
32-bit words, while mplayer assumes 32-bit samples).

The diff adds the correct par.msb setting and the necessary checks,
and enables 24-bit in 3-byte packets encodings.

-- Alexandre


More information about the MPlayer-dev-eng mailing list