summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-09-26 11:28:36 -0700
committerEric Laurent <elaurent@google.com>2013-09-26 11:28:36 -0700
commit962a0a4d759d67b8e8d920a88eaa1ff349df6f11 (patch)
tree0a601205cfb3eb40394964cba69c7d272e9311f9 /audio
parent45c763947b657b347211dc9388754e05d30d0467 (diff)
downloadhardware_libhardware_legacy-962a0a4d759d67b8e8d920a88eaa1ff349df6f11.zip
hardware_libhardware_legacy-962a0a4d759d67b8e8d920a88eaa1ff349df6f11.tar.gz
hardware_libhardware_legacy-962a0a4d759d67b8e8d920a88eaa1ff349df6f11.tar.bz2
audio: fix remote submix sampling rates
Only list 48000 Hz in supported sampling rates for remote submix output and input stream profiles to avoid mismatch betwen playback and capture. Bug: 10900252. Change-Id: Id96e914caeb42e8f4aa5fe4e55e19156cdd67b58
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_policy.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf
index 804558e..3e29976 100644
--- a/audio/audio_policy.conf
+++ b/audio/audio_policy.conf
@@ -46,7 +46,7 @@ audio_hw_modules {
r_submix {
outputs {
submix {
- sampling_rates 44100|48000
+ sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
@@ -54,7 +54,7 @@ audio_hw_modules {
}
inputs {
submix {
- sampling_rates 44100|48000
+ sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX