On the Raspberry Pi a hollywood program from me halts with the error message "Error configuring ALSA PCM output stream".
This happens when "PlayMusic" tries to start the background music. The sound file is in the AIFF format. The AIFF plugin is in the same directory as the hollywood program.
It was tried on a freshly installed Raspbian (the latest version from May 2015). I guess that in Raspbian ALSA is out-of-the-box properly configured already?
The hardware is a Raspberry Pi 1 B.
What could be my error?
Raspberry Pi: Error configuring ALSA PCM output stream
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Raspberry Pi: Error configuring ALSA PCM output stream
What is the exact PCM layout of this AIFF sound file? (bit depth, playback frequency, channels)
Re: Raspberry Pi: Error configuring ALSA PCM output stream
The layout ist:
Channels: Stereo
Sample rate: 44100 Hz
Bits per sample: 16
Channels: Stereo
Sample rate: 44100 Hz
Bits per sample: 16
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Raspberry Pi: Error configuring ALSA PCM output stream
I tried it here with a 44khz, 16-bit stereo sample and it's working fine on Raspberry Pi 1 and 2.
These are my versions of Raspbian:
On the Pi 1:
On the Pi 2:
Have you tried to play the file with some other program? Maybe it's an ALSA configuration error...
These are my versions of Raspbian:
On the Pi 1:
Code: Select all
pi@raspberrypi ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)
Release: 7.1
Codename: wheezy
Code: Select all
pi@raspberrypi ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy
Re: Raspberry Pi: Error configuring ALSA PCM output stream
I will check deeper on this on the weekend.
Thank you for your help so far.
Thank you for your help so far.