diff options
Diffstat (limited to 'facetracknoir/gain-control.hpp')
-rw-r--r-- | facetracknoir/gain-control.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/gain-control.hpp b/facetracknoir/gain-control.hpp index 005ef9cc..98d45711 100644 --- a/facetracknoir/gain-control.hpp +++ b/facetracknoir/gain-control.hpp @@ -179,7 +179,7 @@ public: if (GAIN_HISTORY_COUNT > means_history.size() && history_timer.elapsed_ms() > GAIN_HISTORY_EVERY_MS) { - means_history.push_front(frame); + means_history.push_front(frame.clone()); if (GAIN_HISTORY_COUNT == means_history.size()) means_history.pop_back(); |