Re: [Alsa-user] Trying to do audio from CGI

2020-12-27 Thread Alan Corey
OMG, I figured it out. You have to use not just the -o and backend type, but also -d and the Alsa device. So this web browser URL: http://pbp/cgi-bin/jbe?009864 produces this comand: cmd: '/usr/bin/mpg123 --output alsa -d plughw:1,0,0 "/data/mp3/pink_floyd/1 - Studio Albums/1979 - The Wall/CD 2/I

Re: [Alsa-user] Trying to do audio from CGI

2020-12-26 Thread Alan Corey
Well, don't follow those instructions exactly. I did and broke my alsa, but I think I've been here before, had to manually undo stuff. This was on a Raspberry Pi before but back in the summer I was doing nature recordings and using alsa (with aplay and arecord), sox, Audacity. The Pinebook Pro ha

Re: [Alsa-user] Trying to do audio from CGI

2020-12-26 Thread Stuart Longland
On 27/12/20 11:04 am, Alan Corey wrote: Uh-oh, I do have PulseAudio installed, didn't intend to. Using a Daniel Thompson Debian Bullseye on a Piinebook Pro. It's been up less than 4 days. Getting PulseAudio and alsa to coexist is a pain because Pulse wants to break alsa. I did it once followi

Re: [Alsa-user] Trying to do audio from CGI

2020-12-26 Thread Alan Corey
Found it, I followed this. https://wiki.debian.org/PulseAudio#Dynamically_enable.2Fdisable On 12/26/20, Alan Corey wrote: > Uh-oh, I do have PulseAudio installed, didn't intend to. Using a > Daniel Thompson Debian Bullseye on a Piinebook Pro. It's been up less > than 4 days. Getting PulseAudio

Re: [Alsa-user] Trying to do audio from CGI

2020-12-26 Thread Alan Corey
Uh-oh, I do have PulseAudio installed, didn't intend to. Using a Daniel Thompson Debian Bullseye on a Piinebook Pro. It's been up less than 4 days. Getting PulseAudio and alsa to coexist is a pain because Pulse wants to break alsa. I did it once following some instructions but I have no reason

Re: [Alsa-user] Trying to do audio from CGI

2020-12-26 Thread Stuart Longland
On 27/12/20 7:33 am, Alan Corey wrote: Directory:/data/mp3/Queen/-- Studio Albums --/(1975) A Night at the Opera/ Playing MPEG stream 1 of 1: 11 Queen - Bohemian Rhapsody.mp3 ... [src/libout123/modules/portaudio.c:120] error: Failed to open PortAudio default stream: Device unavailable main: [src/