From b95fa0aab89d890374e315f79fbebded660048f4 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 4 Aug 2007 01:17:15 +0000 Subject: [PATCH] renamed "mixer::framesPerAudioBuffer()" to "mixer::framesPerPeriod()" and type "fpab_t" to "fpp_t" git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@503 0778d3d1-df1d-0410-868b-ea421aaaa00d --- plugins/audio_file_processor/audio_file_processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/audio_file_processor/audio_file_processor.cpp b/plugins/audio_file_processor/audio_file_processor.cpp index acfb6b02f..203380929 100644 --- a/plugins/audio_file_processor/audio_file_processor.cpp +++ b/plugins/audio_file_processor/audio_file_processor.cpp @@ -391,7 +391,7 @@ void audioFileProcessor::setAudioFile( const QString & _audio_file, bool _rename void audioFileProcessor::playNote( notePlayHandle * _n, bool ) { - const Uint32 frames = engine::getMixer()->framesPerAudioBuffer(); + const fpp_t frames = _n->framesLeftForCurrentPeriod(); sampleFrame * buf = new sampleFrame[frames]; if( !_n->m_pluginData )