ALSA: compress: change the way sample rates are sent to kernel
authorVinod Koul <vinod.koul@intel.com>
Mon, 16 Dec 2013 09:25:34 +0000 (14:55 +0530)
committerDmitry Shmidt <dimitrysh@google.com>
Fri, 7 Nov 2014 00:39:58 +0000 (16:39 -0800)
commit9aed3d0f495e8d1c53c8041cd4f18cab81affd7b
tree190a750e3ca07e55a6b13263bb4579c3d49fefdb
parent2ce95507d5ce6a5d3fd7993c35667a98c2f11f3b
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>
(cherry picked from commit f0e9c08065dc31210fc4cf313c4ecaa088187dc5)
Signed-off-by: Yuchen Song <yuchens@nvidia.com>
Change-Id: Ia4c67405b9cf9aef9c641bce9b02a994939eae00
include/uapi/sound/compress_params.h