On Wed, Apr 06, 2016 at 10:49:06AM +0530, Suresh Kumar wrote:
> Hello Carl,
> 
> Thank you for your reply.
> 
> >>Did you look at the aresample filter and libswresample?
> You mean to say resample filter is required before/after our decoder?
> Our audio PCM decoder is expecting signed 16/24 bit. We are getting proper
> input to the decoder.
> The decoder process the data and fill with "float" values, which will be
> required to use by rendering as float data.
> My query is, what flags need to set from the decoder level so that the
> rendering will understand the data is float.

The decoder sets the output sample format through

AVCodecContext->sample_fmt
AVFrame.format (or get_buffer() through AVCodecContext->sample_fmt)


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to