Commit Graph

19 Commits

Author SHA1 Message Date
Paul Licameli ad04187a41 Change sampleCount arguments, variables, return values to size_t...
... whenever they really describe the size of a buffer that fits in memory, or
of a block file (which is never now more than a megabyte and so could be fit in
memory all at once), or a part thereof.
2016-09-15 21:03:17 -04:00
Paul Licameli 67cec5ad83 Make many counts of tracks and channels unsigned...
... And in some places where a library uses signed types, assert that
the reported number is not negative.

What led me to this, is that there are many places where a size_t value for
an allocation is the product of a number of channels and some other number.
2016-09-07 10:11:41 -04:00
James Crook 8089bd484a (Cosmetic) added 'final' to class definition.
Putting the word 'final' is a bit like adding a comment that nothing is derived from this effect.
2016-08-10 18:25:07 +01:00
Steve Daulton 685300457c Bass and Treble update residual changes
Just a bit that got left out of the last update commit
2016-06-06 18:40:47 +01:00
Steve Daulton e9dcf3e5e2 Add real time preview to Bass and Treble 2016-06-06 18:29:10 +01:00
Paul Licameli 990080ae7d Replace virtual with override wherever possible; eliminate needless virtual...
... for functions in final classes.

override is like const -- it's not necessary, but it helps the compiler to
catch mistakes.

There may be some overriding functions not explicitly declared virtual and I did
not identify such cases, in which I might also add override.
2016-02-26 12:35:38 -05:00
Paul Licameli 7824e94030 Harmlessly qualify classes as final (or explicitly comment not)...
... Should have no effect on generated code, except perhaps some slight faster
virtual function calls.  Mostly useful as documentation of design intent.

Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
2016-02-24 20:58:30 -05:00
Paul Licameli e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04:00
Leland Lucius 7a0aa43a82 Convert all wxTRANSLATE() to XO()
XO() can be used anywhere a string must be extracted for translation
but not automatically translated at runtime.
2015-04-18 23:03:49 -05:00
Leland Lucius 8fbfa460c4 Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the
Audio Units, LADSPA, and VST effects.  All effects now share
a common UI.

This gives all effects (though not implemented for all):

User and factory preset capability
Preset import/export capability
Shared or private configuration options

Builtin effects can now be migrated to RTP, depending on algorithm.
LV2 effects now support graphical interfaces if the plugin supplies one.
Nyquist prompt enhanced to provide some features of the Nyquist Workbench.

It may not look like it, but this was a LOT of work, so trust me, there
WILL be problems and everything effect related should be suspect.  Keep
a sharp eye (or two) open.
2015-04-16 23:36:28 -05:00
Steve Daulton a3ec006e3e bug683 initial commit 2015-04-12 18:04:58 +01:00
lllucius 16ca4f17eb Re-adding localized menu labels for effects
If you can believe it, this whole big mess is
just to get localized effect labels back into
the menus.

I sure wish I'd had a little bit more time to
finish up all of the effects.  It sure would 
be a lot cleaner (code wise).
2014-12-15 21:54:23 +00:00
benjamin.drung@gmail.com 277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
v.audacity 70ebaa3cc0 a little cleanup 2013-05-02 23:22:47 +00:00
james.k.crook@gmail.com 04fdfe3651 Steve Daulton's Bass-Boost-without-overboosting (clipping free Bass Boost). 2013-04-07 16:49:16 +00:00
martynshaw99 7bae6f949e Steve the Fiddle's patch to save prefs in BassTreble effect. 2013-01-31 00:36:37 +00:00
richardash1981 ef5c3a7c61 A number of cleanup and review changes on the committed code, reducing variable scope, making constants actually const and using constant for Pi as it's available 2013-01-01 16:12:00 +00:00
richardash1981 42143357d8 fix the line endings on this file, and set svn:eol-style to native so they stay fixed 2013-01-01 15:50:12 +00:00
v.audacity ace1a1c16c Steve Daulton's BassTreble replacement of BassBoost 2013-01-01 01:59:02 +00:00