嘿,我已经将AOSP移植到Xperi L,我发现安装的音量控制不起作用。 HAL可能存在一些问题。我不知道如何处理这个问题,而这个问题在Kitkat中仍然存在。 是否有人能够指导或只是指示如何处理这个问题......
我正在使用的qcom音频是 https://github.com/CyanogenMod/android_hardware_qcom_audio
和内核代码是 https://github.com/varunchitre15/android_kernel_sony_msm8930
以下是用于音量控制更改的logcat
01-13 15:50:57.068: D/ALSADevice(4506): setVoipVolume: volume 80
01-13 15:50:57.068: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 80 index 0
01-13 15:50:57.068: D/ALSADevice(4506): setVoiceVolume: volume 80
01-13 15:50:57.068: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 80 index 0
01-13 15:50:57.579: D/SettingsProvider(782): User 0 external modification to /data/data/com.android.providers.settings/databases/settings.db; event=2
01-13 15:50:57.579: D/SettingsProvider(782): User 0 updating our caches for /data/data/com.android.providers.settings/databases/settings.db
01-13 15:50:58.449: D/ALSADevice(4506): setVoipVolume: volume 100
01-13 15:50:58.449: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 100 index 0
01-13 15:50:58.449: D/ALSADevice(4506): setVoiceVolume: volume 100
01-13 15:50:58.449: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 100 index 0
01-13 15:51:00.492: I/ActivityManager(782): Waited long enough for: ServiceRecord{2677dd25 u0 com.google.android.talk/com.google.android.apps.hangouts.realtimechat.RequestWriter}
01-13 15:51:01.443: D/ALSADevice(4506): setVoipVolume: volume 80
01-13 15:51:01.443: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 80 index 0
01-13 15:51:01.443: D/ALSADevice(4506): setVoiceVolume: volume 80
01-13 15:51:01.443: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 80 index 0
01-13 15:51:02.294: D/ALSADevice(4506): setVoipVolume: volume 60
01-13 15:51:02.294: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 60 index 0
01-13 15:51:02.294: D/ALSADevice(4506): setVoiceVolume: volume 60
01-13 15:51:02.294: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 60 index 0
01-13 15:51:02.914: D/ALSADevice(4506): setVoipVolume: volume 40
01-13 15:51:02.914: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 40 index 0
01-13 15:51:02.914: D/ALSADevice(4506): setVoiceVolume: volume 40
01-13 15:51:02.914: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 40 index 0
01-13 15:51:03.885: D/ALSADevice(4506): setVoipVolume: volume 20
01-13 15:51:03.885: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 20 index 0
01-13 15:51:03.885: D/ALSADevice(4506): setVoiceVolume: volume 20
01-13 15:51:03.885: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 20 index 0
01-13 15:51:04.526: D/ALSADevice(4506): setVoipVolume: volume 0
01-13 15:51:04.526: D/ALSADevice(4506): setMixerControl:: name Voip Rx Volume value 0 index 0
01-13 15:51:04.526: D/ALSADevice(4506): setVoiceVolume: volume 0
01-13 15:51:04.526: D/ALSADevice(4506): setMixerControl:: name Voice Rx Volume value 0 index 0
01-13 15:51:05.837: D/AccelerometerListener(1143): orientation: vertical