Forgot to clean some debug code...
This commit is contained in:
@@ -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() )
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user