diff --git a/include/sound/pcm.h b/include/sound/pcm.h index bb5ba2020c53..14f8a2295a24 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -138,6 +138,7 @@ struct snd_pcm_ops { #define SNDRV_PCM_RATE_96000 (1<<10) /* 96000Hz */ #define SNDRV_PCM_RATE_176400 (1<<11) /* 176400Hz */ #define SNDRV_PCM_RATE_192000 (1<<12) /* 192000Hz */ +#define SNDRV_PCM_RATE_384000 (1<<13) /* 384000Hz */ #define SNDRV_PCM_RATE_CONTINUOUS (1<<30) /* continuous range */ #define SNDRV_PCM_RATE_KNOT (1<<31) /* supports more non-continuos rates */ diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 7b00d5f5f248..58352c35862a 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -2016,7 +2016,8 @@ static int snd_pcm_hw_rule_sample_bits(struct snd_pcm_hw_params *params, #endif static unsigned int rates[] = { 5512, 8000, 11025, 16000, 22050, 32000, 44100, - 48000, 64000, 88200, 96000, 176400, 192000 }; + 48000, 64000, 88200, 96000, 176400, 192000, + 384000 }; const struct snd_pcm_hw_constraint_list snd_pcm_known_rates = { .count = ARRAY_SIZE(rates),