Code Review
/
apps
/
mixer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Convert the sink/source volume caches from a list to hashes
[apps/mixer.git]
/
app
/
paclient.h
diff --git
a/app/paclient.h
b/app/paclient.h
index
1367e81
..
002fbb3
100644
(file)
--- a/
app/paclient.h
+++ b/
app/paclient.h
@@
-16,6
+16,7
@@
#include <pulse/pulseaudio.h>
#include <pulse/pulseaudio.h>
+#include <QtCore/QHash>
#include <QtCore/QObject>
const char * const channel_position_string[] =
#include <QtCore/QObject>
const char * const channel_position_string[] =
@@
-85,5
+86,6
@@
class PaClient : public QObject
pa_threaded_mainloop *m_ml;
pa_mainloop_api *m_mlapi;
pa_context *m_ctx;
pa_threaded_mainloop *m_ml;
pa_mainloop_api *m_mlapi;
pa_context *m_ctx;
- QList<CState *> m_cstatelist;
+ QHash<int, pa_cvolume *> m_sink_states;
+ QHash<int, pa_cvolume *> m_source_states;
};
};