cubietruck install airplay

install shairport

http://shumeipai.nxez.com/2014/12/10/raspberry-pi-using-airplay-wireless-audio-playback-achieve-even-putting-wifi.html

trobleshooting

driver

FATAL: Could not open ao device
代表没有audio驱动,
sudo apt-get install linux-sound-base alsa-base alsa-utils

Unknown PCM cards.pcm.front

  • error:ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
  • solution:
    • sudo nano /usr/share/alsa/alsa.conf
    • change the line “pcm.front cards.pcm.front” to “pcm.front cards.pcm.default”

改声频源为earphone

modify /etc/asound.conf to turn on the headphone.http://docs.cubieboard.org/tutorials/common/begining_on_lubuntu

  pcm.!default {
    type hw
    card 0    //If you want to set HDMI as output ,turn 0 to 1.
    device 0
  }
  ctl.!default {
    type hw
    card 0   //If you want to set HDMI as output ,turn 0 to 1.
  }

你可能感兴趣的:(cubietruck install airplay)