summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2014-07-26 11:35:22 -0500
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:17 +0100
commitc52d029f749f3700b13afb36ba70864bc35f55b7 (patch)
tree60186b5e2995e5b38dfa8c73c2d31bd7ae6488bb /audio
parent99bbf8b1b3984c5c9417ce4235d28afb2cd7f40c (diff)
downloaddevice_samsung_tuna-c52d029f749f3700b13afb36ba70864bc35f55b7.zip
device_samsung_tuna-c52d029f749f3700b13afb36ba70864bc35f55b7.tar.gz
device_samsung_tuna-c52d029f749f3700b13afb36ba70864bc35f55b7.tar.bz2
tuna: Add audio submix, enable WFD
Fixes Chromecast streaming! Change-Id: Iae2ce082d45f91997b58df8284b25efb66aa67e4 Signed-off-by: Kyle Repinski <repinski23@gmail.com> Conflicts: BoardConfig.mk
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_policy.conf20
1 files changed, 19 insertions, 1 deletions
diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf
index bf387a2..a782448 100644
--- a/audio/audio_policy.conf
+++ b/audio/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
@@ -63,6 +63,24 @@ 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
+ }
+ }
+ }
usb {
outputs {
usb_accessory {