aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-12-16 04:25:34 -0500
committerTakashi Iwai <tiwai@suse.de>2013-12-16 09:54:28 -0500
commitf0e9c08065dc31210fc4cf313c4ecaa088187dc5 (patch)
treec7b46423baa7c3d2b9a4fa599f528f6b1a309bac
parentd09476018bee39495d6ece7a2e069de29a9c0ed5 (diff)
ALSA: compress: change the way sample rates are sent to kernel
The usage of SNDRV_RATES is not effective as we can have rates like 12000 or some other ones used by decoders. This change the usage of this to use the raw Hz values to be sent to kernel Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/uapi/sound/compress_params.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h
index 602dc6c45d1a..1114e380aecd 100644
--- a/include/uapi/sound/compress_params.h
+++ b/include/uapi/sound/compress_params.h
@@ -324,7 +324,7 @@ union snd_codec_options {
324 324
325/** struct snd_codec_desc - description of codec capabilities 325/** struct snd_codec_desc - description of codec capabilities
326 * @max_ch: Maximum number of audio channels 326 * @max_ch: Maximum number of audio channels
327 * @sample_rates: Sampling rates in Hz, use SNDRV_PCM_RATE_xxx for this 327 * @sample_rates: Sampling rates in Hz, use values like 48000 for this
328 * @bit_rate: Indexed array containing supported bit rates 328 * @bit_rate: Indexed array containing supported bit rates
329 * @num_bitrates: Number of valid values in bit_rate array 329 * @num_bitrates: Number of valid values in bit_rate array
330 * @rate_control: value is specified by SND_RATECONTROLMODE defines. 330 * @rate_control: value is specified by SND_RATECONTROLMODE defines.