corrected resample buffer size calc
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@112 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-03-28 Danny McRae <khjklujn/at/yahoo/dot/com>
|
||||
* lib/sample_buffer.cpp:
|
||||
corrected miscalculation of buffer size in resample
|
||||
|
||||
2005-03-26 Danny McRae <khjklujn/at/yahoo/dot/com>
|
||||
|
||||
* plugins/vibed/:
|
||||
|
||||
@@ -1207,7 +1207,7 @@ sampleBuffer * sampleBuffer::resample( sampleFrame * _data,
|
||||
static_cast<f_cnt_t>( src_frame_float );
|
||||
const f_cnt_t src_frame = tLimit<f_cnt_t>(
|
||||
static_cast<f_cnt_t>( src_frame_float ),
|
||||
1, _frames - 2 );
|
||||
1, _frames - 3 );
|
||||
for( ch_cnt_t ch = 0; ch < DEFAULT_CHANNELS; ++ch )
|
||||
{
|
||||
dst_buf[frame][ch] = cubicInterpolate(
|
||||
|
||||
Reference in New Issue
Block a user