-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Reset stream-restore database on stream switching #42
Comments
I can reproduce it. Is there anything I can do to help? |
Okay I can confirm this one. However that's the way the PulseAudio daemon maps streams, and this indicator is not affecting that. At the same time, the standard Sound Panel in Gnome Control Center does switch the default sink/source in such a way that any stream appearing after that is mapped to the default. I'll investigate how the Sound Panel handles it once I've got enough time. |
I use 2.2.0 in Linux Mint 19.1. Problem is actual. |
This happens for me when
The line already exists, so you just need to add |
The docs actually explain how the gnome sound switcher works – it simply edits the database for all streams to the newly selected device: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/DefaultDevice/ I took a look my file ( |
Thanks @breunigs, it looks indeed that it "works as designed":
For those who happen to dislike the way PulseAudio works, the same page lists four possible solutions:
If I have time, I'll try to mimic Gnome's behaviour (not sure what "modifying the stream-restore database" entails exactly). |
Considering the alternatives (especially the persistent fix of editing PA config, item 4 above), this item is closed. |
For example, if I have my default device set as my speaker then I change the default device to headphones, all sounds currently playing will switch to headphones. But if I launch a program, its audio will play from the speakers, until I open the sound switcher and select headphones for a second time.
The text was updated successfully, but these errors were encountered: