Changeset View
Changeset View
Standalone View
Standalone View
src/context_p.h
Show All 26 Lines | |||||
27 | #include <pulse/introspect.h> | 27 | #include <pulse/introspect.h> | ||
28 | #include <qglobal.h> | 28 | #include <qglobal.h> | ||
29 | #include <pulse/ext-stream-restore.h> | 29 | #include <pulse/ext-stream-restore.h> | ||
30 | #include <pulse/glib-mainloop.h> | 30 | #include <pulse/glib-mainloop.h> | ||
31 | 31 | | |||
32 | namespace PulseAudioQt | 32 | namespace PulseAudioQt | ||
33 | { | 33 | { | ||
34 | 34 | | |||
35 | static const qint64 NormalVolume = PA_VOLUME_NORM; | | |||
36 | static const qint64 MinimalVolume = 0; | | |||
37 | static const qint64 MaximalVolume = (PA_VOLUME_NORM / 100.0) * 150; | | |||
38 | | ||||
39 | | ||||
40 | class ContextPrivate | 35 | class ContextPrivate | ||
41 | { | 36 | { | ||
42 | public: | 37 | public: | ||
43 | 38 | | |||
44 | explicit ContextPrivate(Context *q); | 39 | explicit ContextPrivate(Context *q); | ||
45 | virtual ~ContextPrivate(); | 40 | virtual ~ContextPrivate(); | ||
46 | 41 | | |||
47 | // Don't forget to add things to reset(). | 42 | // Don't forget to add things to reset(). | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |