diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
commit | 73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch) | |
tree | c0039f3f5a848aed6e880abf11519dad855fa899 /libs/ardour/vst_plugin.cc | |
parent | 74b4a3c77b08dc1e58274875604eb73e8492fa93 (diff) |
Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/vst_plugin.cc')
-rw-r--r-- | libs/ardour/vst_plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index d805a2feec..ee7c165fb3 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -107,7 +107,7 @@ VSTPlugin::~VSTPlugin () } int -VSTPlugin::set_block_size (nframes_t nframes) +VSTPlugin::set_block_size (pframes_t nframes) { deactivate (); _plugin->dispatcher (_plugin, effSetBlockSize, 0, nframes, NULL, 0.0f); @@ -357,7 +357,7 @@ VSTPlugin::describe_parameter (Evoral::Parameter param) return name; } -nframes_t +framecnt_t VSTPlugin::signal_latency () const { if (_user_latency) { @@ -365,7 +365,7 @@ VSTPlugin::signal_latency () const } #ifdef VESTIGE_HEADER - return *((nframes_t *) (((char *) &_plugin->flags) + 12)); /* initialDelay */ + return *((framecnt_t *) (((char *) &_plugin->flags) + 12)); /* initialDelay */ #else return _plugin->initial_delay; #endif @@ -386,7 +386,7 @@ VSTPlugin::automatable () const int VSTPlugin::connect_and_run (BufferSet& bufs, ChanMapping in_map, ChanMapping out_map, - nframes_t nframes, nframes_t offset) + pframes_t nframes, framecnt_t offset) { float *ins[_plugin->numInputs]; float *outs[_plugin->numOutputs]; |