|
板凳
楼主 |
发表于 2021-3-13 18:18:53
|
只看该作者
hi, jeffery
非常感谢,按照你的指导,已经可以采集和播放音频了。目前的问题是,是否支持用amixer设置播放或者采集的音量呢?
amixer -D HeadphoneNormal cget name='Playback Path'
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
numid=1,iface=MIXER,name='Playback Path'
; type=ENUMERATED,access=rw------,values=1,items=11
; Item #0 'OFF'
; Item #1 'RCV'
; Item #2 'SPK'
; Item #3 'HP'
; Item #4 'HP_NO_MIC'
; Item #5 'BT'
; Item #6 'SPK_HP'
; Item #7 'RING_SPK'
; Item #8 'RING_HP'
; Item #9 'RING_HP_NO_MIC'
; Item #10 'RING_SPK_HP'
: values=0
|
|