It’s 2018 and you can run Crysis on integrated graphics, but Linux still can’t play two sounds at the same time on anything.
-
Show this thread
-
(Problems with mixing simultaneous audio streams was a real issue with ALSA years ago)
10 replies 0 retweets 38 likesShow this thread -
SwiftOnSecurity Retweeted
Apparently it's still an issue
https://twitter.com/zeefreak/status/964162903392817156 …SwiftOnSecurity added,
This Tweet is unavailable.4 replies 1 retweet 51 likesShow this thread -
Replying to @SwiftOnSecurity
I've never had an issue with this when running pulse over alsa, but I haven't looked into the internals of the interface, maybe pulse mixes the audio before sending to alsa? That's kinda neat though, curious why this has persisted as long as it has.
1 reply 0 retweets 1 like -
Replying to @hedgeberg @SwiftOnSecurity
Pulse mixes everything. ALSA has dmix which can do the same but isn't enabled by default these days (because PA takes care of it). And PA usually has an ALSA plugin so *everything* should go to PA and get mixed by default.
1 reply 3 retweets 12 likes -
If you have a really boneheaded legacy app that hardcodes the audio output device on ALSA or insists on direct hardware access then yeah, that will not work properly and will block other audio if there was nothing playing before.
4 replies 2 retweets 13 likes -
Is there any way to block the boneheaded apps and just allow the mixing source?
2 replies 0 retweets 0 likes -
I don't think there's any way to block an app that *really* wants to directly open the hardware device (short of some really ugly nonstandard permissions hack). It only works while audio is idle, though, it won't "take over" pulseaudio if it's playing something.
1 reply 0 retweets 0 likes -
Would an audio stream made up of 0 count as something in this case? So PA is always playing but can mix in the actual sounds you want as you want them. Probably a dumb idea though.
1 reply 0 retweets 0 likes
Yes, it would. Though I think you can just disable the feature. Comment out 'load-module module-suspend-on-idle' in /etc/pulse/default.pa and I think that should leave the device always open.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.