Changeset View
Changeset View
Standalone View
Standalone View
src/qml/volumefeedback.h
- This file was copied to src/canberracontext.h.
Show All 32 Lines | |||||
33 | public: | 33 | public: | ||
34 | explicit VolumeFeedback(QObject *parent = nullptr); | 34 | explicit VolumeFeedback(QObject *parent = nullptr); | ||
35 | ~VolumeFeedback() override; | 35 | ~VolumeFeedback() override; | ||
36 | 36 | | |||
37 | bool isValid() const; | 37 | bool isValid() const; | ||
38 | 38 | | |||
39 | public slots: | 39 | public slots: | ||
40 | void play(quint32 sinkIndex); | 40 | void play(quint32 sinkIndex); | ||
41 | | ||||
42 | private: | | |||
43 | ca_context *m_context = nullptr; | | |||
44 | }; | 41 | }; | ||
45 | 42 | | |||
46 | #endif // VOLUMEFEEDBACK_H | 43 | #endif // VOLUMEFEEDBACK_H |