summaryrefslogtreecommitdiffstats
path: root/src/engine/keycontrol.h
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2014-12-31 00:54:38 +0100
committerDaniel Schürmann <daschuer@mixxx.org>2014-12-31 00:54:38 +0100
commit33161f7bffbadf73be72f40aaee7a43ef23ca8fe (patch)
tree83eadf067d3b3ca48b492306b6e17105196115d1 /src/engine/keycontrol.h
parentb4a1b4324f8ce79669a003f850436b6e83b9c4a7 (diff)
Use QAtomicInts to signal pending updates of pitch COs
Diffstat (limited to 'src/engine/keycontrol.h')
-rw-r--r--src/engine/keycontrol.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/keycontrol.h b/src/engine/keycontrol.h
index e4ed9403fd..227ac1dab1 100644
--- a/src/engine/keycontrol.h
+++ b/src/engine/keycontrol.h
@@ -29,7 +29,7 @@ class KeyControl : public EngineControl {
virtual ~KeyControl();
// Returns a struct, with the results of the last pitch and tempo calculations
- KeyControl::PitchTempoRatio getPitchTempoRatio() const;
+ KeyControl::PitchTempoRatio getPitchTempoRatio();
double getKey();
@@ -77,6 +77,9 @@ class KeyControl : public EngineControl {
TrackPointer m_pTrack;
ControlValueAtomic<struct PitchTempoRatio> m_pitchRateInfo;
+ QAtomicInt m_updatePitchRequest;
+ QAtomicInt m_updatePitchAdjustRequest;
+ QAtomicInt m_updateRateRequest;
};
#endif // KEYCONTROL_H