From b289c7a7a523cf8f77a31c7c10871f7358cf7f89 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 4 Dec 2008 19:54:29 +0000 Subject: [PATCH] explicitely declare updateSampleRate() and updateBufferSize() as virtual (stable backport) git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1868 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 3 +++ plugins/vst_base/remote_vst_plugin.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54acd9c87..545cffee7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-12-04 Tobias Doerffel + * plugins/vst_base/remote_vst_plugin.cpp: + explicitely declare updateSampleRate() and updateBufferSize() as virtual + * src/tracks/instrument_track.cpp: decreased step-property of volumeModel and panningModel from 1.0 to 0.1 for allowing smoother transitions when automating etc. diff --git a/plugins/vst_base/remote_vst_plugin.cpp b/plugins/vst_base/remote_vst_plugin.cpp index af83d929c..7be58a6ad 100644 --- a/plugins/vst_base/remote_vst_plugin.cpp +++ b/plugins/vst_base/remote_vst_plugin.cpp @@ -116,7 +116,7 @@ public: const f_cnt_t _offset ); // set given sample-rate for plugin - void updateSampleRate( void ) + virtual void updateSampleRate( void ) { if( m_plugin ) { @@ -126,7 +126,7 @@ public: } // set given buffer-size for plugin - void updateBufferSize( void ) + virtual void updateBufferSize( void ) { if( m_plugin ) {