GNOME Bugzilla – Bug 598921
update anomalies
Last modified: 2010-02-02 12:29:14 UTC
When I switch the profile from 'analog stereo duplex' to 'analog stereo output' the Connector combo box on the input tab is left behind. This is different from what happens when I go from 'analog stereo duplex' to 'analog stereo input': the connector thing on the output tab does disappear. And when I go back from 'analog stereo output' to 'analog stereo input', the input device reappears in the list on the input tab, but is not selected. Part of the problem here appears to be that GvcMixerControl does not emit default-sink/source-changed signals when the default goes away. But just fixing that is not enough to make these problems disappear entirely, and I haven't looked further.
The difference is that a dummy output is automatically created when removing the last output, whereas the input just gets no default whatsoever. So the bug would most likely exist for outputs as well as inputs were it not for that PulseAudio feature.
Created attachment 152829 [details] [review] Handle the last input source being removed When removing the last input source, emit "default-source-changed" with an invalid stream ID, so that the front-end knows to remove the widgets associated with the disappeared input. (Same applies to sinks/outputs, though PulseAudio will create a dummy output, hiding that fact)
Attachment 152829 [details] pushed as 2bbb3e2 - Handle the last input source being removed