diff libmpdemux/demux_avs.c @ 36897:38234a308fd3

Fix sndio playback of 24 bit/sample audio. Setting bps correctly is necessary since otherwise sndio defaults to 4 bps (instead of 3) for 24 bit audio. Setting msb will also allow playback if sndio also ignores our preferences and requests 4 bps input with 24 significant bits. Patch by Alexandre Ratchov [alex caoua org] with additional comments by me.
author reimar
date Tue, 11 Mar 2014 19:50:38 +0000
parents 92dd1764392a
children
line wrap: on
line diff