aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Edmunds <sammybenblue2@gmail.com>2014-07-20 21:32:00 +0200
committerandi34 <skate4life@gmx.de>2014-08-02 19:28:27 +0200
commit721b2eef1aa9c1ec78541f2c7c1f0112584825bd (patch)
tree60c7d8f06d4e89dedc31b09bf11d5dd14ed69108
parentadac338826ce63f500e73ba4a8922ef7600322b0 (diff)
downloaddevice_samsung_espresso3g-721b2eef1aa9c1ec78541f2c7c1f0112584825bd.zip
device_samsung_espresso3g-721b2eef1aa9c1ec78541f2c7c1f0112584825bd.tar.gz
device_samsung_espresso3g-721b2eef1aa9c1ec78541f2c7c1f0112584825bd.tar.bz2
P51XX: Add audio.r_submix.default for casting
Change-Id: Ic284d19ac5ada7ea23a03bfe1b8ff9f2697f1fe3
-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 \