diff audioio/ClipMixer.cpp @ 442:88ae0e53a5da tonioni

Reset audio generator when clearing ring buffers -- because we are about to jump back in time to the start of the buffered area, so any pending note-offs won't happen until much later, so we should drop the pending notes entirely
author Chris Cannam
date Tue, 24 Mar 2015 16:41:38 +0000
parents 72c662fe7ea3
children
line wrap: on
line diff
--- a/audioio/ClipMixer.cpp	Mon Mar 23 11:26:28 2015 +0000
+++ b/audioio/ClipMixer.cpp	Tue Mar 24 16:41:38 2015 +0000
@@ -20,6 +20,8 @@
 
 #include "base/Debug.h"
 
+//#define DEBUG_CLIP_MIXER 1
+
 ClipMixer::ClipMixer(int channels, sv_samplerate_t sampleRate, sv_frame_t blockSize) :
     m_channels(channels),
     m_sampleRate(sampleRate),