Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libaudio: Commit

hardware/libaudio


Commit MetaInfo

Revision43bc5b5a9e09086e4a323293959e187d3f92e2a7 (tree)
Time2019-08-27 17:01:47
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Fix USB audio output issue

Bugs: https://github.com/android-x86/android-x86.github.io/issues/54
Reported-and-fixed-by: Chales Yu <574249312@qq.com>

Change Summary

Incremental Difference

--- a/audio_policy.conf
+++ b/audio_policy.conf
@@ -61,7 +61,7 @@ audio_hw_modules {
6161 sampling_rates 44100
6262 channel_masks AUDIO_CHANNEL_OUT_STEREO
6363 formats AUDIO_FORMAT_PCM_16_BIT
64- devices AUDIO_DEVICE_OUT_USB_DEVICE
64+ devices AUDIO_DEVICE_OUT_USB_DEVICE|AUDIO_DEVICE_OUT_USB_HEADSET
6565 }
6666 }
6767 inputs {
@@ -69,7 +69,7 @@ audio_hw_modules {
6969 sampling_rates 44100
7070 channel_masks AUDIO_CHANNEL_IN_STEREO
7171 formats AUDIO_FORMAT_PCM_16_BIT
72- devices AUDIO_DEVICE_IN_USB_DEVICE
72+ devices AUDIO_DEVICE_IN_USB_DEVICE|AUDIO_DEVICE_IN_USB_HEADSET
7373 }
7474 }
7575 }
Show on old repository browser