Works, great! Plays a beep and the pulseaudio server is running under user “pi.”īut if I then log in (ssh) to my system and do Sudo -i -u pi - sh -c "aplay -D Pulse /var/tones/beep.wav" Seems the pulseaudio server has issues when started for a user at system startup (in rc.local for example) and then the user wants to use it from a login shell. I never could get the amixer stuff working and I think I know (partially) why. I’ve learned a bit more about how this is all supposed to work and have a solution that’s working for me, now. Thanks for sticking with me on all of this. So it seems I can’t get pulse audio to control volume either.
PULSEAUDIO VOLUME CONTROL DRIVERS
I’m OK using anything that will give me I2S audio output and volume control! But I think things are screwed up with multiple drivers and I just haven’t been able to unravel it, pactl load-module module-alsa-sink control=PCM
![pulseaudio volume control pulseaudio volume control](https://files.fosswire.com/2008/01/pavucontrol.png)
I’m sure I’m confused and likely merging multiple things that should not be, but this is how the system booted up. Nothing I do will play a sound except if I play through -Dpulse. I’ve been looking over the Alsa docs to try and configure the soft_vol to work with the pulse audio driver and can’t make that work.
![pulseaudio volume control pulseaudio volume control](https://net2.com/wp-content/uploads/2020/07/word-image-69.jpeg)
![pulseaudio volume control pulseaudio volume control](https://fedoramagazine.org/wp-content/uploads/2015/07/sound-panel.png)
Playback/recording through the PulseAudio sound serverĭiscard all samples (playback) or generate zero samples (capture) **** List of PLAYBACK Hardware Devices ****Ĭard 0: sndrpihifiberry, device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 Ĭard 1: rockchipes8316c, device 0: ff880000.i2s-ES8316 HiFi ES8316 HiFi-0 Ĭard 2: HDMICODEC, device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 Īplay -Dpulse works (plays through the pulseaudio aplay -L