summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-08-30 13:06:06 -0700
committerSteve Kondik <shade@chemlab.org>2013-08-30 13:06:06 -0700
commit52f5450e74a434a0f422b36fd0c760c27fa9dd80 (patch)
tree18afe8918fd0ae5a3a7ef4a80afa5be249c71675 /configs
parent4bcf02ae361c70b8a9a9b4579d8b02fcb66e30c6 (diff)
downloaddevice_samsung_smdk4412-common-52f5450e74a434a0f422b36fd0c760c27fa9dd80.zip
device_samsung_smdk4412-common-52f5450e74a434a0f422b36fd0c760c27fa9dd80.tar.gz
device_samsung_smdk4412-common-52f5450e74a434a0f422b36fd0c760c27fa9dd80.tar.bz2
smdk4412: Use the USB audio HAL for external devices
* I recently fixed several issues in the usbaudio HAL, making it able to handle arbitrary audio devices connected via OTG. * Point the dock outputs to the correct place in order to get audio. ** Due to a broken transaction translator in the USB hardware (yay Exynos4), you may need to connect certain devices thru a powered USB 2.0 hub in order for them to work. Change-Id: I326d257090a1b59293ccbacac26c106e72ce6ee7
Diffstat (limited to 'configs')
-rw-r--r--configs/audio_policy.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/audio_policy.conf b/configs/audio_policy.conf
index ef45a58..c0e2972 100644
--- a/configs/audio_policy.conf
+++ b/configs/audio_policy.conf
@@ -26,7 +26,7 @@ audio_hw_modules {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
- devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
+ devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_PRIMARY
}
deep_buffer {
@@ -75,7 +75,7 @@ audio_hw_modules {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
- devices AUDIO_DEVICE_OUT_USB_DEVICE
+ devices AUDIO_DEVICE_OUT_USB_DEVICE|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
}
}
}