Forgot to clean some debug code...

This commit is contained in:
Vesa
2014-03-28 02:28:51 +02:00
parent 5c142cb2a4
commit 8c0b22eca8
2 changed files with 3 additions and 4 deletions

View File

@@ -131,9 +131,9 @@ void audioFileProcessor::playNote( NotePlayHandle * _n,
((handleState *)_n->m_pluginData)->setFrameIndex( m_nextPlayStartPoint );
// debug code
qDebug( "frames %d", m_sampleBuffer.frames() );
/* qDebug( "frames %d", m_sampleBuffer.frames() );
qDebug( "startframe %d", m_sampleBuffer.startFrame() );
qDebug( "nextPlayStartPoint %d", m_nextPlayStartPoint );
qDebug( "nextPlayStartPoint %d", m_nextPlayStartPoint );*/
}
if( ! _n->isFinished() )

View File

@@ -628,7 +628,7 @@ bool SampleBuffer::play( sampleFrame * _ab, handleState * _state,
const f_cnt_t total_frames_for_current_pitch = static_cast<f_cnt_t>( (
m_endFrame - m_startFrame ) /
freq_factor );
qDebug( "total pitched frames %d", total_frames_for_current_pitch );
if( total_frames_for_current_pitch == 0 )
{
return false;
@@ -664,7 +664,6 @@ bool SampleBuffer::play( sampleFrame * _ab, handleState * _state,
return false;
}
}
qDebug( "frames for loop %d", frames_for_loop );
sampleFrame * tmp = NULL;