Changeset View
Changeset View
Standalone View
Standalone View
src/sourceoutput.h
Show All 20 Lines | |||||
21 | #ifndef SOURCEOUTPUT_H | 21 | #ifndef SOURCEOUTPUT_H | ||
22 | #define SOURCEOUTPUT_H | 22 | #define SOURCEOUTPUT_H | ||
23 | 23 | | |||
24 | #include "stream.h" | 24 | #include "stream.h" | ||
25 | 25 | | |||
26 | namespace QPulseAudio | 26 | namespace QPulseAudio | ||
27 | { | 27 | { | ||
28 | 28 | | |||
29 | class Q_DECL_EXPORT SourceOutput : public Stream | 29 | class SourceOutput : public Stream | ||
30 | { | 30 | { | ||
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | public: | 32 | public: | ||
33 | SourceOutput(QObject *parent); | 33 | SourceOutput(QObject *parent); | ||
34 | 34 | | |||
35 | void update(const pa_source_output_info *info); | 35 | void update(const pa_source_output_info *info); | ||
36 | 36 | | |||
37 | void setVolume(qint64 volume) Q_DECL_OVERRIDE; | 37 | void setVolume(qint64 volume) Q_DECL_OVERRIDE; | ||
38 | void setMuted(bool muted) Q_DECL_OVERRIDE; | 38 | void setMuted(bool muted) Q_DECL_OVERRIDE; | ||
39 | void setChannelVolume(int channel, qint64 volume) Q_DECL_OVERRIDE; | 39 | void setChannelVolume(int channel, qint64 volume) Q_DECL_OVERRIDE; | ||
40 | void setDeviceIndex(quint32 deviceIndex) Q_DECL_OVERRIDE; | 40 | void setDeviceIndex(quint32 deviceIndex) Q_DECL_OVERRIDE; | ||
41 | }; | 41 | }; | ||
42 | 42 | | |||
43 | } // QPulseAudio | 43 | } // QPulseAudio | ||
44 | 44 | | |||
45 | #endif // SOURCEOUTPUT_H | 45 | #endif // SOURCEOUTPUT_H |