summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2019-08-27 16:01:47 +0800
committerChih-Wei Huang <cwhuang@linux.org.tw>2019-08-27 16:01:47 +0800
commit43bc5b5a9e09086e4a323293959e187d3f92e2a7 (patch)
tree3c20c15f6a3ce52e114fa9c90cda56f7258cb69e
parent6e6086e49991f5f9840390181c10cc9bc04eaf2f (diff)
downloadplatform_hardware_libaudio-43bc5b5a9e09086e4a323293959e187d3f92e2a7.tar.gz
platform_hardware_libaudio-43bc5b5a9e09086e4a323293959e187d3f92e2a7.tar.bz2
platform_hardware_libaudio-43bc5b5a9e09086e4a323293959e187d3f92e2a7.zip
Bugs: https://github.com/android-x86/android-x86.github.io/issues/54 Reported-and-fixed-by: Chales Yu <574249312@qq.com>
-rw-r--r--audio_policy.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio_policy.conf b/audio_policy.conf
index 39ce05a..26e0972 100644
--- a/audio_policy.conf
+++ b/audio_policy.conf
@@ -61,7 +61,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_USB_HEADSET
}
}
inputs {
@@ -69,7 +69,7 @@ audio_hw_modules {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
- devices AUDIO_DEVICE_IN_USB_DEVICE
+ devices AUDIO_DEVICE_IN_USB_DEVICE|AUDIO_DEVICE_IN_USB_HEADSET
}
}
}