切換USB DAC步驟
先檢查USB DAC有沒有認到
輸入 cat /proc/asound/cards
pi@raspberrypi ~ $ cat /proc/asound/cards
0 [DAC ]: USB-Audio - USB Audio DAC
Burr-Brown from TI USB Audio DAC at usb-bcm2708_usb-1.3, full speed
1 [ALSA ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA
bcm2835 ALSA
pi@raspberrypi ~ $
接著切換聲音輸出到USB DAC
輸入 sudo nano /etc/modprobe.d/alsa-base.conf
找到
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
將-2改成0存檔
再輸入cat /proc/asound/cards
看USB 是否切成0,這樣就可以正常播USB DAC
播放軟體用mpg321
安裝 sudo apt-get install mpg321
播放輸入 mpg321 *.mp3播放
沒有留言:
張貼留言