O'Reilly logo

Banana Pi Cookbook by Ryad El-Dajani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the audio device

There are two common ways to output audio on Banana Pi. You can pass-through the digital audio signal via HDMI to your television or audio/video receiver, or you can output the signal via the analog line out.

Getting ready

The following ingredients are required to handle audio on Banana Pi:

  • A Linux system on Banana Pi
  • Access to the shell
  • Either an HDMI connection to your TV, audio/video receiver, or…
  • A set of stereo headphones or stereo jack cable to any analog audio receiving device with 3.5 mm jack

How to do it…

We are configuring both the HDMI pass-through and the analog audio output in this recipe. In both cases, we have to configure the audio output via the system configuration file /etc/asound.conf (also called asoundrc ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required