ALSA: pcm: add support for 705.6kHz and 768kHz sample rates
authorPavel Hofman <pavel.hofman@ivitera.com>
Tue, 16 Apr 2024 12:17:25 +0000 (14:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2024 07:30:34 +0000 (09:30 +0200)
commitad88ea67b135f74a9f32dc5404a35c773b2a3925
tree285ab4036c40ef2a9423f66613d8484a2165c2ce
parent93d7d38fa61d1f22ab5a882d89d94c077ec8bb01
ALSA: pcm: add support for 705.6kHz and 768kHz sample rates

Many modern codecs support 705.6kHz and 768kHz sample rates. Current HW
params fail to set 705.6kHz and 768kHz sample rates as these are not in the
known-rates list.

Add these new rates to the known-rates list to allow them.

Also add defines in pcm.h so that drivers can use it.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <20240416121726.628679-3-pavel.hofman@ivitera.com>
include/sound/pcm.h
sound/core/pcm_native.c