Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Georg Chini
Hi, mh, looks like you have a problem then. Pulseaudio exclusively opens the sound devices, so if the player cannot be configured to use the alsa default device, it will not work. You could try using dmix (https://wiki.archlinux.org/title/PulseAudio chapter 5.1.3, just used Google, did not

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Richard Reina
$ aplay -L null Discard all samples (playback) or generate zero samples (capture) default Playback/recording through the PulseAudio sound server lavrate Rate Converter Plugin Using Libav/FFmpeg Library samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Georg Chini
Hi, so what's the output of aplay -L? Regards    Georg On 07.05.24 21:12, Richard Reina wrote: Hello Georg, Thank you for the reply. Yes Moode accesses alsa directly and unfortunately there is no option for making it use pulse. El mar, 7 may 2024 a las 13:33, Georg Chini ()

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Georg Chini
Hello, maybe you don't have the alsa config for pulseaudio. Normally aplay -L shows that the default device points to pulse: null     Discard all samples (playback) or generate zero samples (capture) default     Playback/recording through the PulseAudio sound server ... pulse     PulseAudio

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Richard Reina
Yes it's a requirement. Setting the audio device to pulse in Ledfx is the only way it will work. El mar, 7 may 2024 a las 11:21, Mark Gaiser () escribió: > Have you tried changing your device in ledfx to pulse? > https://ledfx.readthedocs.io/en/latest/directing_audio.html > > Again no idea if

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Mark Gaiser
Have you tried changing your device in ledfx to pulse? https://ledfx.readthedocs.io/en/latest/directing_audio.html Again no idea if this works, I don't know nor use ledfx :) Just trying to help out. On Tue, May 7, 2024 at 6:14 PM Richard Reina wrote: > Hi Mark, > > Thank you for the reply.

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Richard Reina
Hi Mark, Thank you for the reply. paplay also works but there's no change. It's not the playing of the song that locks up the device and causes Moode audio not to be able to use it, it's the starting of ledfx. Once I do systemctl start ledfx the moode audio player can no longer use the output

Re: Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Mark Gaiser
Can you use paplay instead? That is the pulseaudio aplay drop-in replacement. I'm guessing you won't have "device or resource busy" errors when using paplay. I did not test this! But do let us know if it works for you :) On Tue, May 7, 2024 at 3:24 PM Richard Reina wrote: > I have a Raspberry

Getting Pulseaudio and alsa to share one sound card

2024-05-07 Thread Richard Reina
I have a Raspberry Pi 3b with a Hifiberry Amp4/DAC hat runs Moode Audio OS. If I pick Pulse as they audio device in LedFx and play a sound file with aplay sound_file.wav my leds react to the music. The problem is that after aplay has finished playing the sound file if I then go try to use Moode