diff options
author | Mike Lockwood <lockwood@google.com> | 2012-04-26 11:16:30 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-26 11:16:30 -0700 |
commit | ee56ff7b992be6e686b65629ab3bd4709cc6a337 (patch) | |
tree | a0d86e9a1b46e049b77208d811d28a90c47065b1 | |
parent | d27e13643a66107d7cf974ac53ddbf562df65659 (diff) | |
parent | e834192262001037841430334dd4c72f0f9c03ab (diff) | |
download | device_samsung_tuna-ee56ff7b992be6e686b65629ab3bd4709cc6a337.zip device_samsung_tuna-ee56ff7b992be6e686b65629ab3bd4709cc6a337.tar.gz device_samsung_tuna-ee56ff7b992be6e686b65629ab3bd4709cc6a337.tar.bz2 |
Merge "Add USB audio HAL to the build" into jb-dev
-rw-r--r-- | audio/audio_policy.conf | 16 | ||||
-rw-r--r-- | device.mk | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf index ca95b0b..1e30270 100644 --- a/audio/audio_policy.conf +++ b/audio/audio_policy.conf @@ -49,4 +49,20 @@ audio_hw_modules { } } } + usb { + outputs { + usb_accessory { + sampling_rates 44100 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_USB_ACCESSORY + } + usb_device { + sampling_rates 44100 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_USB_DEVICE + } + } + } } @@ -52,7 +52,8 @@ PRODUCT_PACKAGES += \ # Audio PRODUCT_PACKAGES += \ audio.primary.tuna \ - audio.a2dp.default + audio.a2dp.default \ + audio.usb.default PRODUCT_COPY_FILES += \ device/samsung/tuna/audio/audio_policy.conf:system/etc/audio_policy.conf |