summaryrefslogtreecommitdiffstats
path: root/libaudio
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2012-04-26 10:42:08 -0700
committerMike Lockwood <lockwood@google.com>2012-04-26 10:42:08 -0700
commit1e50ab955ad8505660591523f6903d3370663e45 (patch)
tree7c0156802d15db301d925b4f0a60a4d337f5698e /libaudio
parente63af0afc43a5c88064df122aee66c59e8cd7dfa (diff)
downloaddevice_samsung_crespo-1e50ab955ad8505660591523f6903d3370663e45.zip
device_samsung_crespo-1e50ab955ad8505660591523f6903d3370663e45.tar.gz
device_samsung_crespo-1e50ab955ad8505660591523f6903d3370663e45.tar.bz2
Add USB audio HAL to the build
Change-Id: Id35f2ce611106c8c9ff1f2ef7333fd5c55a0c0b6 Signed-off-by: Mike Lockwood <lockwood@google.com>
Diffstat (limited to 'libaudio')
-rw-r--r--libaudio/audio_policy.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/libaudio/audio_policy.conf b/libaudio/audio_policy.conf
index 592af23..2c2c590 100644
--- a/libaudio/audio_policy.conf
+++ b/libaudio/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
+ }
+ }
+ }
}