mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
ASoC: msm: Add sample rates to PCM front-end
Add two additional sample rates to the PCM front- end: 88200 KHz and 176400 KHz. CRs-Fixed: 601715 Change-Id: If61fb034a60f41b5c63a00fd764da50db7333cb5 Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
This commit is contained in:
parent
9c6389a6b0
commit
baff7765a8
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -25,7 +25,7 @@ static struct snd_soc_dai_ops msm_fe_dai_ops = {};
|
|||
/* Conventional and unconventional sample rate supported */
|
||||
static unsigned int supported_sample_rates[] = {
|
||||
8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000,
|
||||
96000, 192000
|
||||
88200, 96000, 176400, 192000
|
||||
};
|
||||
|
||||
static struct snd_pcm_hw_constraint_list constraints_sample_rates = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -99,7 +99,7 @@ static struct snd_pcm_hardware msm_pcm_hardware_playback = {
|
|||
/* Conventional and unconventional sample rate supported */
|
||||
static unsigned int supported_sample_rates[] = {
|
||||
8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000,
|
||||
96000, 192000
|
||||
88200, 96000, 176400, 192000
|
||||
};
|
||||
|
||||
static uint32_t in_frame_info[CAPTURE_MAX_NUM_PERIODS][2];
|
||||
|
|
Loading…
Reference in a new issue