[alsa-devel] [RFC PATCH 0/3] ALSA: compress: Add support for FLAC

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Nov 15 15:55:28 CET 2019



On 11/15/19 4:27 AM, Vinod Koul wrote:
> The current design of sending codec parameters assumes that decoders
> will have parsers so they can parse the encoded stream for parameters
> and configure the decoder.

that's not quite correct. It's rather than there was no need so far for 
existing implementations to have parameters on decode, this was never a 
limitation of the design, see e.g. the comments below:

/* AAC modes are required for encoders and decoders */

/*
  * IEC modes are mandatory for decoders. Format autodetection
  * will only happen on the DSP side with mode 0. The PCM mode should
  * not be used, the PCM codec should be used instead.
  */


More information about the Alsa-devel mailing list