[pulseaudio-discuss] [PATCH] Implement module-always-source

2017-06-29 Thread Sebastian Dröge
From: Sebastian Dröge This is basically a copy of module-always-sink but doing the same for sources. Whenever no source is available, a module-null-source is loaded and whenever a new source is available again, module-null-source is unloaded. By this, anything using a source will automatically b

[pulseaudio-discuss] [PATCH] core: change configured_default_sink/source type to string

2017-06-29 Thread Tanu Kaskinen
This allows us to restore the default device properly when a hotpluggable device (e.g. a USB sound card) is set as the default, but unplugged temporarily. Previously we would forget that the unplugged device was ever set as the default, because we had to set configured_default_sink to NULL to avoid