mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-03-16 03:02:47 +00:00
[Linux] Dynamically find device sink name (#108)
* [Linux] Dynamically find device sink name * Logging * WIP * List cards instead
This commit is contained in:
@@ -47,6 +47,7 @@ Q_SIGNALS:
|
||||
|
||||
private:
|
||||
MediaState mediaStateFromPlayerctlOutput(const QString &output);
|
||||
QString getAudioDeviceName();
|
||||
|
||||
QDBusInterface *mprisInterface = nullptr;
|
||||
QProcess *playerctlProcess = nullptr;
|
||||
@@ -54,6 +55,7 @@ private:
|
||||
int initialVolume = -1;
|
||||
QString connectedDeviceMacAddress;
|
||||
EarDetectionBehavior earDetectionBehavior = PauseWhenOneRemoved;
|
||||
QString m_deviceOutputName;
|
||||
};
|
||||
|
||||
#endif // MEDIACONTROLLER_H
|
||||
Reference in New Issue
Block a user