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
This commit is contained in:
Tobias Doerffel
2008-12-04 19:54:29 +00:00
parent 19829ebb1c
commit b289c7a7a5
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
2008-12-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* 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.

View File

@@ -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 )
{