aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/audio_policy.conf20
-rwxr-xr-xp51xx-common.mk1
2 files changed, 20 insertions, 1 deletions
diff --git a/configs/audio_policy.conf b/configs/audio_policy.conf
index c83707b..19e57f1 100644
--- a/configs/audio_policy.conf
+++ b/configs/audio_policy.conf
@@ -5,7 +5,7 @@
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER
default_output_device AUDIO_DEVICE_OUT_SPEAKER
- attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC
+ attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
# audio hardware module section: contains descriptors for all audio hw modules present on the
@@ -72,4 +72,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
+ }
+ }
+ }
}
diff --git a/p51xx-common.mk b/p51xx-common.mk
index 3ddab35..b14a4ae 100755
--- a/p51xx-common.mk
+++ b/p51xx-common.mk
@@ -63,6 +63,7 @@ PRODUCT_COPY_FILES += \
# Packages
PRODUCT_PACKAGES += \
audio.primary.piranha \
+ audio.r_submix.default \
camera.piranha \
hwcomposer.piranha \
lights.piranha \