summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2012-04-26 10:43:39 -0700
committerMike Lockwood <lockwood@google.com>2012-04-26 10:43:39 -0700
commit5d1d6686198b556c4e3a9fd0fb67fd18a3ab4f40 (patch)
tree5788f0c77c8b393b0d5260cda7036d53013ba132 /audio
parentc827c443973fa489832fec8c31b67af8c096b2f3 (diff)
downloaddevice_samsung_tuna-5d1d6686198b556c4e3a9fd0fb67fd18a3ab4f40.zip
device_samsung_tuna-5d1d6686198b556c4e3a9fd0fb67fd18a3ab4f40.tar.gz
device_samsung_tuna-5d1d6686198b556c4e3a9fd0fb67fd18a3ab4f40.tar.bz2
Add USB audio HAL to the build
Change-Id: Ia6b6caf67f3c2e53431d7b65c3a30c57975faa2a Signed-off-by: Mike Lockwood <lockwood@google.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_policy.conf16
1 files changed, 16 insertions, 0 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
+ }
+ }
+ }
}