On Sun, Jun 05, 2016 at 03:35:01PM +0100, DigitalDreamtime wrote:
Add SNDRV_PCM_RATE_352800 and SNDRV_PCM_RATE_384000 defines to pcm.h, for 352k8 and 384k sample rates.
Add SNDRV_PCM_RATE_8000_384000 define to pcm.h.
Update rates list in pcm_native.c.
Yes, we can use CONTINUOUS/KNOT and constraints, to support the x8 sample rates, but having the defines requires less code in drivers. Many more DAC chips are now supporting the x8 44k1/48k multiples.
From a high-res viewpoint, the DXD standard is 352k8, 24 bit.
That alone should justify the addition of a define for it.
Signed-off-by: DigitalDreamtime clive.messer@digitaldreamtime.co.uk
Certainly looks like these rates are going to become pretty widely used from our side so for what is worth:
Acked-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com
I am sure Brian would weight in on the side of this one as well but he is on holiday this week.
Thanks, Charles