Changeset View
Changeset View
Standalone View
Standalone View
src/source.h
Show All 34 Lines | 32 | public: | |||
---|---|---|---|---|---|
35 | void update(const pa_source_info *info); | 35 | void update(const pa_source_info *info); | ||
36 | void setVolume(qint64 volume) override; | 36 | void setVolume(qint64 volume) override; | ||
37 | void setMuted(bool muted) override; | 37 | void setMuted(bool muted) override; | ||
38 | void setActivePortIndex(quint32 port_index) override; | 38 | void setActivePortIndex(quint32 port_index) override; | ||
39 | void setChannelVolume(int channel, qint64 volume) override; | 39 | void setChannelVolume(int channel, qint64 volume) override; | ||
40 | 40 | | |||
41 | bool isDefault() const override; | 41 | bool isDefault() const override; | ||
42 | void setDefault(bool enable) override; | 42 | void setDefault(bool enable) override; | ||
43 | | ||||
44 | void switchStreams() override; | ||||
43 | }; | 45 | }; | ||
44 | 46 | | |||
45 | } // QPulseAudio | 47 | } // QPulseAudio | ||
46 | 48 | | |||
47 | #endif // SOURCE_H | 49 | #endif // SOURCE_H |