BPI-R1 Audio

Banana pi BPI-R1 support two audio device HDMI and headphone

  • How to choose HDMI or headphone for audio output

    sudo nano /etc/asound.conf
    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.
    }
  • Plug in the headphone and type

    speaker-test -twav -c2
  • The sound "sound left,sound right,sound left" will output from headphone.

    sudo apt-get install espeak
    espeak "hello"            //say: hello
    espeak "hello_bananapi"    //say: hello banana pi
  • Run the sound volume controler,you can see

    sudo alsamixer

Last updated