[alsa-devel] [PATCH 2/2] ASoC: simple-card: Add support for samplerate and samplewidth constraints

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Mar 2 20:35:04 CET 2015


Hi Jyri,

On 3/2/15 8:14 AM, Jyri Sarha wrote:
>
>   Optional dai-link subnode properties:
>
> +- samplewidth-constraints		: List of integers describing supported
> +					  sample widths in number of bits.

There are quite a few platforms where the number of bits for valid audio 
bits differs from the number of bits per slot, e.g. 24 bits with 25 bit 
slots, or 24 bits in 32 bit slots. How would this be represented? This 
concept is present for the TDM case but not the simple one.
-Pierre

> +- rate-constraints			: List of integers describing supported
> +					  sample samplerates in Hz.
>   - format				: CPU/CODEC common audio format.
>   					  "i2s", "right_j", "left_j" , "dsp_a"



More information about the Alsa-devel mailing list