diff options
author | Pavel Hofman <pavel.hofman@ivitera.com> | 2024-04-16 15:17:26 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-04-18 10:30:45 +0300 |
commit | 3e2f2235b526e0238d4c77fe3396bc6308c5426b (patch) | |
tree | 164863a09e0ec0216dc9c35d158a4a63e503af4f /sound/drivers/aloop.c | |
parent | ad88ea67b135f74a9f32dc5404a35c773b2a3925 (diff) | |
download | linux-3e2f2235b526e0238d4c77fe3396bc6308c5426b.tar.xz |
ALSA: aloop: add support for up to 768kHz sample rate
Many modern codecs support rates up to 768kHz (including DSD1024). Add
support for rates up to 768kHz to the loopback driver.
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-4-pavel.hofman@ivitera.com>
Diffstat (limited to 'sound/drivers/aloop.c')
-rw-r--r-- | sound/drivers/aloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 44ee2a4bc2b0..d6dd4b8c750a 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c @@ -931,9 +931,9 @@ static const struct snd_pcm_hardware loopback_pcm_hardware = SNDRV_PCM_FMTBIT_DSD_U8 | SNDRV_PCM_FMTBIT_DSD_U16_LE | SNDRV_PCM_FMTBIT_DSD_U16_BE | SNDRV_PCM_FMTBIT_DSD_U32_LE | SNDRV_PCM_FMTBIT_DSD_U32_BE), - .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_192000, + .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_768000, .rate_min = 8000, - .rate_max = 192000, + .rate_max = 768000, .channels_min = 1, .channels_max = 32, .buffer_bytes_max = 2 * 1024 * 1024, |