AudioSystemAdapter: mDevicesForStreamCache: stream:0 device:speaker stream:1 device:hdmi stream:2 device:speaker stream:3 device:hdmi stream:4 device:speaker stream:5 device:hdmi stream:6 device:speaker stream:7 device:hdmi stream:8 device:hdmi stream:9 device:speaker stream:10 device:hdmi stream:11 device:hdmi mDevicesForAttrCache:
时间: 2024-02-14 07:05:19 浏览: 71
AudioStreamExample
根据您提供的输出结果,可以看出当前设备的音频输出设备列表如下:
- stream 0: speaker
- stream 1: hdmi
- stream 2: speaker
- stream 3: hdmi
- stream 4: speaker
- stream 5: hdmi
- stream 6: speaker
- stream 7: hdmi
- stream 8: hdmi
- stream 9: speaker
- stream 10: hdmi
- stream 11: hdmi
根据上述列表,数字“0”表示“speaker”(即内置扬声器),数字“1”表示“hdmi”输出,以此类推。因此,如果您想将默认音频输出设备更改为内置扬声器,可以使用以下命令:
```
adb shell settings put global preferred_output_device 0
```
请注意,不同设备的数字表示可能会有所不同,因此请仔细查看输出结果以确定正确的数字表示。
阅读全文