Mercurial > hg > svapp
diff audioio/ClipMixer.cpp @ 397:f747be6743ab
Debug bits
author | Chris Cannam |
---|---|
date | Wed, 13 Aug 2014 16:44:50 +0100 |
parents | 0876ea394902 |
children | b0b49da13975 |
line wrap: on
line diff
--- a/audioio/ClipMixer.cpp Wed Aug 13 16:44:44 2014 +0100 +++ b/audioio/ClipMixer.cpp Wed Aug 13 16:44:50 2014 +0100 @@ -131,6 +131,12 @@ float *levels = new float[m_channels]; +#ifdef DEBUG_CLIP_MIXER + cerr << "ClipMixer::mix: have " << m_playing.size() << " playing note(s)" + << " and " << endingNotes.size() << " note(s) ending here" + << endl; +#endif + foreach (NoteStart note, m_playing) { for (int c = 0; c < m_channels; ++c) {