From a27f9cbfed2f67e9e42756d5b41d5c4c8908d82d Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 16 Aug 2012 18:42:00 -0700 Subject: [PATCH] Audio configuration for remote submix Change-Id: I0a9fa3f79e7c7bd3716d7789003aba68211d1fb4 --- audio_policy.conf | 18 ++++++++++++++++++ device.mk | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/audio_policy.conf b/audio_policy.conf index d8230c353..cb77c73a8 100644 --- a/audio_policy.conf +++ b/audio_policy.conf @@ -65,4 +65,22 @@ audio_hw_modules { } } } + r_submix { + outputs { + submix { + sampling_rates 44100|48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX + } + } + inputs { + submix { + sampling_rates 44100|48000 + channel_masks AUDIO_CHANNEL_IN_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_REMOTE_SUBMIX + } + } + } } diff --git a/device.mk b/device.mk index f2dca2f70..9cea07fc7 100644 --- a/device.mk +++ b/device.mk @@ -172,7 +172,8 @@ PRODUCT_PACKAGES += \ audio_policy.msm8960 \ audio.primary.msm8960 \ audio.a2dp.default \ - audio.usb.default + audio.usb.default \ + audio.r_submix.default PRODUCT_PACKAGES += \ hci_qcomm_init