diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-28 01:26:21 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-28 01:26:30 +0100 |
commit | 06854e131520077b41e4da2bb6dc0f7141609be5 (patch) | |
tree | 4409e4a00ec72b2f3984801407200a4a1d0a748a /gtk2_ardour/plugin_eq_gui.h | |
parent | 61623f730c36ec6306f42afeea951b4d91c199bd (diff) |
Re-work plugin-analysis (fix crashes)
Plugin-analysis uses a fixed number of samples, which may be larger
than the session's block-size. This caused problems for some VST
plugins that use audioMasterCallback to query the session's block-size.
Plugin FFT analysis now processes in chunks of the session's block-size
to avoid this issue. This also allows to increase accuracy for
all plugin standards (FFT size was increased to 8192).
Diffstat (limited to 'gtk2_ardour/plugin_eq_gui.h')
-rw-r--r-- | gtk2_ardour/plugin_eq_gui.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/plugin_eq_gui.h b/gtk2_ardour/plugin_eq_gui.h index 6ea463f334..3827db87a2 100644 --- a/gtk2_ardour/plugin_eq_gui.h +++ b/gtk2_ardour/plugin_eq_gui.h @@ -15,7 +15,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ #ifndef __ardour_plugin_eq_gui_h @@ -99,6 +98,7 @@ private: float _log_coeff; float _log_max; + ARDOUR::samplecnt_t _block_size; ARDOUR::samplecnt_t _buffer_size; ARDOUR::samplecnt_t _signal_buffer_size; @@ -106,7 +106,6 @@ private: ARDOUR::BufferSet _bufferset; ARDOUR::BufferSet _collect_bufferset; - // dimensions float _analysis_width; float _analysis_height; @@ -155,4 +154,3 @@ private: }; #endif - |