diff options
author | Chih-Wei Huang <cwhuang@linux.org.tw> | 2019-08-27 16:01:47 +0800 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2019-08-27 16:01:47 +0800 |
commit | 43bc5b5a9e09086e4a323293959e187d3f92e2a7 (patch) | |
tree | 3c20c15f6a3ce52e114fa9c90cda56f7258cb69e | |
parent | 6e6086e49991f5f9840390181c10cc9bc04eaf2f (diff) | |
download | platform_hardware_libaudio-43bc5b5a9e09086e4a323293959e187d3f92e2a7.tar.gz platform_hardware_libaudio-43bc5b5a9e09086e4a323293959e187d3f92e2a7.tar.bz2 platform_hardware_libaudio-43bc5b5a9e09086e4a323293959e187d3f92e2a7.zip |
Fix USB audio output issueandroid-x86-9.0-r2android-x86-9.0-r1android-x86-8.1-r4android-x86-8.1-r3android-x86-7.1-r3
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.conf | 4 |
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 } } } |