Android ALSA relevant adb commands

1,查看声卡是否存在:

cat proc/asound/cards



2,设备列表:

#1:cd dev/snd

#2:ls,列出音频设备列表:



3,查看codec register

adb shell cat/sys/kernel/debug/asoc/*snd-card/*codec/codec_reg >

如,本例中,snd-card为msm8952-marley-card,codec为code:marley-codec



4,dumpsys 查看音频设备相关状态:

adb shell dumpsys media.audio_flinger

adb shell dumpsys media.audio_policy

adb shell dumpsys media.player


猜你喜欢

转载自blog.csdn.net/shangrilachen/article/details/78180862