Playback pauses when changing pulseaudio's default sink
-
Hello @ all,
i'm working on an equalizer app for UT (https://github.com/bigbrotherisstillwatching/utEqualizer). I recently updated to Noble and now playback of e.g. the music-player pauses when i deactivate the equalizer by setting the default sink back to
sink.primary_output. This does not happen, when activating the equalizer by setting the default sink to the createdequalizer-sink, playback just continues.Does anyone know, what the problem is and IF or HOW i can make it work like before on Focal (?); because it didn't happen there. Is this because of changes in pulseaudio or media-hub or a bug or something else?
Help appreciated!
Greetings bbiw
-
K Keneda moved this topic from Fairphone 4 on
-
K Keneda marked this topic as a question on
-
When creating a null sink with e.g.:
pactl load-module module-null-sink sink_name=equalizerand changing the default sink to this sink with:pacmd set-default-sink equalizermusic keeps on playing. But when setting back to the standard sink with:pacmd set-default-sink sink.primary_outputthe music player pauses and themedia-hublog says:media-hub: Pausing Player with key: 1, resuming after phone call? no. -
@bbiw I think it's feature for when you listen to music through external headphones and you disconnect them to stop playing music. It also happens on Android.
-
Ok, this seems to be a new feature of the 24.04-1.0 release. This seems to be desired by others, but hinders function of my equalizer app. An option to disable/enable this behavior in the system settings would be nice.
Interestingly this does not happen, when moving the sink inputs with e.g.:
pactl list short sink-inputs | awk '{print $1}' | xargs -I {} pacmd move-sink-input {} equalizerand back withpactl list short sink-inputs | awk '{print $1}' | xargs -I {} pacmd move-sink-input {} sink.primary_output.But to implement this function into my app and consider all the different eventualities will be very complicated, i think. Changing the default sink is much easier.
-
This does not happen when streaming over bluetooth.
-
B bbiw has marked this topic as solved on
-
B bbiw has marked this topic as unsolved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login