# This line autostarts an instance of Pulseaudio that does not exit on idle.
# This is "necessary" on Artix due to a current bug between PA and
# Chromium-based browsers where they fail to start PA and use dummy output.
pidof -s runit &&
pidof -s ! pidof -s pulseaudio >/dev/null 2>&1 &&
setsid -f pulseaudio --start --exit-idle-time=-1 >/dev/null 2>&1
I thought puleaudo was just a neccesary evil until I started using this. No more "dummy output" restart browser nonsense :)
In my specific case, I have a lot of issues with audio not coming through RDP. This would/should allow me to stream my Windows 10 VM's audio alongside the RDP session.
Well, I'd prefer something that's not reliant on PulseAudio at all. But there might be shims that could be put into place to deal with that -- a Python script to capture that network data and spit it out to an ALSA sink using pyalsaaudio or SoundCard, for example, could do so in a cross-platform way.
It actually looks like they have some receivers defined already so a shim might not even be needed!
I'm playing a game in my VM with audio piping from scream to pipewire right now (:
The current pulse server implementation in pipewire is, if anything, less finnicky than pulse for me. Only issue I have is there's no equivalent echo-cancellation module yet
4
u/[deleted] Dec 04 '20
I just noticed st3r4g did some work on the new version (3.17) which no longer uses libpulseaudio-pipewire. See also https://gist.github.com/st3r4g/6c681a28b0403b3b02636f510ff68039
Not currently:https://www.reddit.com/r/voidlinux/comments/k4obom/how_to_setup_pipewire/ge9zebk/3
u/upofadown Dec 04 '20
There is some sndiod support:
2
u/[deleted] Dec 04 '20
Don't habe any insights into running piewire sorry, but I did come accross this gem over on Luke Smiths dotsrepo: https://github.com/LukeSmithxyz/voidrice/blob/master/.config/x11/xprofile
I thought puleaudo was just a neccesary evil until I started using this. No more "dummy output" restart browser nonsense :)
1
u/[deleted] Dec 14 '20
As alternative to pulse, doesn't void support sndio + alsa + aucatctl + alsa-sndio?
1
u/bluesecurity Dec 04 '20
This is sweet, btw: https://github.com/duncanthrax/scream
It is the reason I will stay on Pulse for now.