service/pipewire: don't use configured default devices

These don't appear to be intended for use by applications, only the
non configured ones.

This fixes the default device being unset on many computers and the
device being lost on actions like headphone unplug which replace it.
This commit is contained in:
outfoxxed 2024-09-17 23:04:06 -07:00
parent bd8978375b
commit 931aca5392
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 4 additions and 25 deletions

View file

@ -55,9 +55,7 @@ private:
PwBindableRef<PwMetadata> defaultSinkHolder;
PwBindableRef<PwMetadata> defaultSourceHolder;
bool sinkConfigured = false;
QString mDefaultSink;
bool sourceConfigured = false;
QString mDefaultSource;
};