Changeset View
Changeset View
Standalone View
Standalone View
src/streamrestore.h
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 80 | private: | |||
---|---|---|---|---|---|
81 | void writeChanges(const pa_cvolume &volume, const pa_channel_map &channelMap, bool muted, const QString &device); | 81 | void writeChanges(const pa_cvolume &volume, const pa_channel_map &channelMap, bool muted, const QString &device); | ||
82 | 82 | | |||
83 | QString m_name; | 83 | QString m_name; | ||
84 | QString m_device; | 84 | QString m_device; | ||
85 | pa_cvolume m_volume; | 85 | pa_cvolume m_volume; | ||
86 | pa_channel_map m_channelMap; | 86 | pa_channel_map m_channelMap; | ||
87 | QStringList m_channels; | 87 | QStringList m_channels; | ||
88 | bool m_muted; | 88 | bool m_muted; | ||
89 | | ||||
90 | struct { | ||||
91 | bool valid = false; | ||||
92 | pa_cvolume volume; | ||||
93 | pa_channel_map channelMap; | ||||
94 | bool muted; | ||||
95 | QString device; | ||||
96 | } m_cache; | ||||
89 | }; | 97 | }; | ||
90 | 98 | | |||
91 | } // QPulseAudio | 99 | } // QPulseAudio | ||
92 | 100 | | |||
93 | #endif // STREAMRESTORE_H | 101 | #endif // STREAMRESTORE_H |