2015年4月9日 星期四

Change the Audio Output on Raspberry Pi

1. Install related package

# sudo apt-get install alsa-utils

 

2. Modify the audio path on Raspberry Pi

# sudo amixer cset numid=3 X

 

Where X is as following:

0 = Auto

1 = 3.5 mm Audio Jack

2 = HDMI


 

numid=1,iface=MIXER,name='Master Playback Volume'

numid=2,iface=MIXER,name='Master Playback ZC Switch'

numid=3,iface=MIXER,name='Capture Volume'

numid=4,iface=MIXER,name='Capture Switch'numid=5,iface=MIXER,name='Mic Boost (+20dB)'numid=6,iface=MIXER,name='Mic Boost2 (+20dB)'numid=7,iface=MIXER,name='Mic Switch'

numid=8,iface=MIXER,name='Sidetone Playback Volume'numid=9,iface=MIXER,name='ADC High Pass Filter Switch'

numid=10,iface=MIXER,name='Store DC Offset Switch'numid=11,iface=MIXER,name='Capture Source'numid=12,iface=MIXER,name='Playback De-emphasis'numid=13,iface=MIXER,name='Input Mux'numid=16,iface=MIXER,name='Output Mixer HiFi Playback Switch'numid=14,iface=MIXER,name='Output Mixer Line Bypass Switch'numid=15,iface=MIXER,name='Output Mixer Mic Sidetone Switch'

沒有留言:

張貼留言