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:
Javier Serrano Polo
2006-11-08 20:53:51 +00:00
parent 250dcc82e0
commit 71f942ff9a

View File

@@ -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();
}