diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2014-12-31 00:54:38 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2014-12-31 00:54:38 +0100 |
commit | 33161f7bffbadf73be72f40aaee7a43ef23ca8fe (patch) | |
tree | 83eadf067d3b3ca48b492306b6e17105196115d1 /src/engine/keycontrol.h | |
parent | b4a1b4324f8ce79669a003f850436b6e83b9c4a7 (diff) |
Use QAtomicInts to signal pending updates of pitch COs
Diffstat (limited to 'src/engine/keycontrol.h')
-rw-r--r-- | src/engine/keycontrol.h | 5 |
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 |