From 71f942ff9a8aeadce8a1ba36dd037aca472c1690 Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Wed, 8 Nov 2006 20:53:51 +0000 Subject: [PATCH] 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 --- src/lib/sample_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sample_buffer.cpp b/src/lib/sample_buffer.cpp index f059cd8c08..a78efbd284 100644 --- a/src/lib/sample_buffer.cpp +++ b/src/lib/sample_buffer.cpp @@ -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(); }