0%

Setup Pulseaudio on BeagleBoard

Setup Pulseaudio on BeagleBoard

How to install pauseaudio to beagleboard?

What is Pauseaudio ?

http://en.wikipedia.org/wiki/PulseAudio
http://www.pulseaudio.org
https://wiki.archlinux.org/index.php/PulseAudio

What is ALSA (Advanced Linux Sound Architecture) ?

http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture

Repositories:

Beagleboard

Assuming that you use Angstrom distribution

  1. Add an Angstrom repository to /etc/opkg/opkg.conf
    src/gz base http://feeds.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/
    option cache /home/root/opkg

  2. Issue following commands:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    sync
    opkg update
    opkg remove --force-depends libpulsecommon

    sync
    opkg install pulseaudio
    opkg install pulseaudio-server
    opkg install libasound-module-pcm-pulse
    opkg install libasound-module-ctl-pulse

    ln -s /usr/lib/libpulsecommon-0.9.22.so /usr/lib/libpulsecommon-0.9.15.so
    ln -s /usr/lib/libpulsecommon-0.9.22.so /usr/lib/libpulsecommon-1.1.so
    sync
  3. Setup configuration files:
    /etc/asound.conf
    http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-July/010671.html
    /etc/pulse/dae
    /etc/group

  4. Run

    1
    sudo pulseaudio --daemon --system
  5. Test:

    1
    2
    aplay /usr/share/sounds/alsa/Noise.wav
    aplay -Dpulse /usr/share/sounds/alsa/Rear_Center.wav

Troubleshooting

http://superuser.com/questions/53957/what-do-alsa-devices-like-hw0-0-mean-how-do-i-figure-out-which-to-use

References