diff options
author | Ben Edmunds <sammybenblue2@gmail.com> | 2014-07-21 01:02:00 +0530 |
---|---|---|
committer | Ben Edmunds <sammybenblue2@gmail.com> | 2014-07-31 15:46:40 +0100 |
commit | bb66144367206db6efa598a0d5d478eb3c128e79 (patch) | |
tree | 5ab2f2a7644ef2cc49e18c60b616bfa1235046c8 | |
parent | 7e4a93901212bbe942a15f0db90073a9ee1cea3c (diff) | |
download | device_samsung_smdk4412-common-bb66144367206db6efa598a0d5d478eb3c128e79.zip device_samsung_smdk4412-common-bb66144367206db6efa598a0d5d478eb3c128e79.tar.gz device_samsung_smdk4412-common-bb66144367206db6efa598a0d5d478eb3c128e79.tar.bz2 |
Add audio.r_submix.default for casting
Change-Id: Ia4c0022881b1850d85459a7117e71b8048a0a55b
-rw-r--r-- | common.mk | 1 | ||||
-rw-r--r-- | configs/audio_policy.conf | 20 |
2 files changed, 20 insertions, 1 deletions
@@ -65,6 +65,7 @@ PRODUCT_PACKAGES := \ AdvancedDisplay \ audio.a2dp.default \ audio.primary.smdk4x12 \ + audio.r_submix.default \ audio.usb.default \ com.android.future.usb.accessory \ gralloc.exynos4 \ diff --git a/configs/audio_policy.conf b/configs/audio_policy.conf index c0e2972..b9f065b 100644 --- a/configs/audio_policy.conf +++ b/configs/audio_policy.conf @@ -5,7 +5,7 @@ global_configuration { attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER default_output_device AUDIO_DEVICE_OUT_SPEAKER - attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC + attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX } # audio hardware module section: contains descriptors for all audio hw modules present on the @@ -79,4 +79,22 @@ audio_hw_modules { } } } + r_submix { + outputs { + submix { + sampling_rates 48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX + } + } + inputs { + submix { + sampling_rates 48000 + channel_masks AUDIO_CHANNEL_IN_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_REMOTE_SUBMIX + } + } + } } |