mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-21 07:23:19 -04:00
fixed switching from normal play to resampling play
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@424 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -737,7 +737,7 @@ bool FASTCALL sampleBuffer::play( sampleFrame * _ab,
|
||||
SRC_STATE * state = m_srcState;
|
||||
if( _resampling_data != NULL )
|
||||
{
|
||||
if( _start_frame == 0 )
|
||||
if( *_resampling_data == NULL )
|
||||
{
|
||||
*_resampling_data = createResamplingContext();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user