[FFmpeg-devel] [PATCH]Use SND_PCM_FORMAT_S24_LE if bits_per_raw_sample <= 24

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Apr 26 11:07:32 CEST 2011


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> On Mon, Apr 25, 2011 at 07:38:48PM +0200, Carl Eugen Hoyos wrote:
> > My hardware supports both 24 and 32 bit, but I imagine hardware exists where 
> > attached is useful.
> 
> Hm? I don't think that can work, bits_per_sample == 24 should mean the lowest
> 8 bits are unused, not the highest 8.
> Or am I misunderstanding this?

No, I thought it works, but I did not test it correctly.

Thank you, Carl Eugen




More information about the ffmpeg-devel mailing list