audacia/src/effects
Paul Licameli 52a7f2320d Re-fix some warnings about mixing signed and unsigned better...
... Assuming that large unsigned magnitudes with high order bit set are not
the problem, but signed negatives of small magnitude may be:

1) Always cast the unsigned to signed in comparisons, not the other way.

Also:

2) Cast unsigned TERM to signed by itself, before subtracting.  Don't cast
the result.

3) Rewrite some comparisons by moving subtracted term to other side.

See commits
d2fe7b1757
f463eda36c
2018-01-23 18:51:53 -05:00
..
VST IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
audiounits IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
ladspa IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
lv2 Use std::[tr1::]unordered_(set|map), not the wxWidgets container macros 2018-01-08 18:22:51 -05:00
nyquist IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
vamp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Amplify.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Amplify.h Enable Help button for Nyquist effects 2017-05-20 14:49:07 +01:00
AutoDuck.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
AutoDuck.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
BassTreble.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
BassTreble.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Biquad.cpp Fixed tab indentations to spaces. 2013-10-02 16:00:34 +00:00
Biquad.h Do not revert the changes in Biquad.h 2017-09-01 05:15:54 -04:00
ChangePitch.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
ChangePitch.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
ChangeSpeed.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
ChangeSpeed.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
ChangeTempo.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
ChangeTempo.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
ClickRemoval.cpp Re-fix some warnings about mixing signed and unsigned better... 2018-01-23 18:51:53 -05:00
ClickRemoval.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Compressor.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Compressor.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Contrast.cpp Fix line endings 2018-01-06 20:15:51 -05:00
Contrast.h Further fix for Windows build 2016-07-11 18:45:47 +01:00
Distortion.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Distortion.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
DtmfGen.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
DtmfGen.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Echo.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Echo.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Effect.cpp Correct recent comments... 2018-01-16 12:28:21 -05:00
Effect.h Remap effect type from "Audacity" to "Built-in", carefully... 2018-01-16 11:11:36 -05:00
EffectManager.cpp Remove needless uses of wxString::c_str() in wxString::Format... 2018-01-01 20:34:33 -05:00
EffectManager.h Use std::[tr1::]unordered_(set|map), not the wxWidgets container macros 2018-01-08 18:22:51 -05:00
EffectRack.cpp Remove needless uses of wxString::c_str() in wxString::Format... 2018-01-01 20:34:33 -05:00
EffectRack.h Harmlessly qualify classes as final (or explicitly comment not)... 2016-02-24 20:58:30 -05:00
Equalization.cpp Simplify GuardedCall and default its return type to void 2018-01-13 01:32:41 -05:00
Equalization.h Bug1754: Telephone and AM Radio curves should not flatten... 2018-01-18 14:48:48 -05:00
Equalization48x.cpp Remove needless uses of wxString::c_str() in wxString::Format... 2018-01-01 20:34:33 -05:00
Equalization48x.h indentation, final newlines, spelling, remove unused members 2017-11-05 21:01:38 -05:00
Fade.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Fade.h Change sampleCount arguments, variables, return values to size_t... 2016-09-15 21:03:17 -04:00
FindClipping.cpp Re-fix some warnings about mixing signed and unsigned better... 2018-01-23 18:51:53 -05:00
FindClipping.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Generator.cpp Translate "Message" as default title of message box... 2018-01-01 17:50:02 -05:00
Generator.h Change sampleCount arguments, variables, return values to size_t... 2016-09-15 21:03:17 -04:00
Invert.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Invert.h Change sampleCount arguments, variables, return values to size_t... 2016-09-15 21:03:17 -04:00
Leveller.cpp Remove some unused strings that confused translators... 2017-09-10 19:24:08 -04:00
Leveller.h Remove some unused strings that confused translators... 2017-09-10 19:24:08 -04:00
LoadEffects.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
LoadEffects.h Drag-and-drop checks file extensions first for plug-in candidates... 2018-01-01 10:29:26 -05:00
Noise.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Noise.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
NoiseReduction.cpp Re-fix some warnings about mixing signed and unsigned better... 2018-01-23 18:51:53 -05:00
NoiseReduction.h Fix mac build. No standard headers in Audacity.h. 2016-03-01 12:22:37 -05:00
NoiseRemoval.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
NoiseRemoval.h use override 2017-11-05 21:01:52 -05:00
Normalize.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Normalize.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Paulstretch.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Paulstretch.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Phaser.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Phaser.h use override 2017-11-05 21:01:52 -05:00
Repair.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Repair.h Change sampleCount arguments, variables, return values to size_t... 2016-09-15 21:03:17 -04:00
Repeat.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Repeat.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
Reverb.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Reverb.h use override 2017-11-05 21:01:52 -05:00
Reverb_libSoX.h Fix uninitialized variables in Reverb... 2017-08-31 20:27:50 -04:00
Reverse.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Reverse.h Replace virtual with override wherever possible; eliminate needless virtual... 2016-02-26 12:35:38 -05:00
SBSMSEffect.cpp Other methods of WaveTrack return void, will throw on failure instead 2017-03-31 18:26:52 -04:00
SBSMSEffect.h Clean up most remaining MSVC warnings. 2018-01-06 13:03:48 +00:00
ScienFilter.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
ScienFilter.h Add help button for Classic Filter 2017-05-21 12:04:15 +01:00
ScoreAlignDialog.cpp Translate "Message" as default title of message box... 2018-01-01 17:50:02 -05:00
ScoreAlignDialog.h use override 2017-11-05 21:01:52 -05:00
Silence.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Silence.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
SimpleMono.cpp Exception safety in: some effects and generators... 2017-03-21 14:11:25 -04:00
SimpleMono.h Change sampleCount arguments, variables, return values to size_t... 2016-09-15 21:03:17 -04:00
SoundTouchEffect.cpp Exception safety in: some effects and generators... 2017-03-21 14:11:25 -04:00
SoundTouchEffect.h Exception safety in: some effects and generators... 2017-03-21 14:11:25 -04:00
StereoToMono.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
StereoToMono.h Exception safety in: some effects and generators... 2017-03-21 14:11:25 -04:00
TimeScale.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
TimeScale.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
TimeWarper.cpp Remove some naked new amd delete in: Built-in Effects 2016-08-08 07:51:25 -04:00
TimeWarper.h Remove some naked new amd delete in: Built-in Effects 2016-08-08 07:51:25 -04:00
ToneGen.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
ToneGen.h use override 2017-11-05 21:01:52 -05:00
TruncSilence.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
TruncSilence.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00
TwoPassSimpleMono.cpp Remove naked new[] in: builtin effects 2017-03-17 17:52:49 -04:00
TwoPassSimpleMono.h More const and override 2017-03-17 17:52:20 -04:00
Wahwah.cpp IdentInterface::GetDescription() returns a translated string... 2018-01-07 21:16:26 -05:00
Wahwah.h Add help buttons for normal built-in effects 2017-05-20 14:49:07 +01:00