Bug fix in FreeVerb; Added <cstring> header in Stk.h (which seemed necessary for MinGW).

This commit is contained in:
Gary Scavone
2014-04-11 16:03:52 -04:00
parent 32a3b551d8
commit 92ca28918f
4 changed files with 3 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ By Perry R. Cook and Gary P. Scavone, 1995--2014.
v4.5.0: (?? April 2014) v4.5.0: (?? April 2014)
- updated versions of RtAudio and RtMidi, with associated renaming of RtError class to either RtAudioError or RtMidiError - updated versions of RtAudio and RtMidi, with associated renaming of RtError class to either RtAudioError or RtMidiError
- new iOS project files (thanks to Ariel Elkin) - new iOS project files (thanks to Ariel Elkin)
- bug fix in FreeVerb that could cause crackling for stereo input
- various bug fixes and updates to minimize compiler warnings - various bug fixes and updates to minimize compiler warnings
- ADSR fix for decay/release time calculations - ADSR fix for decay/release time calculations
- various updates to build system - various updates to build system

View File

@@ -14,6 +14,7 @@
<ul> <ul>
<li>Updated versions of RtAudio and RtMidi, with associated renaming of RtError class to either RtAudioError or RtMidiError</li> <li>Updated versions of RtAudio and RtMidi, with associated renaming of RtError class to either RtAudioError or RtMidiError</li>
<li>New iOS project files (thanks to Ariel Elkin)</li> <li>New iOS project files (thanks to Ariel Elkin)</li>
<li>Bug fix in FreeVerb that could cause crackling for stereo input</li>
<li>Various bug fixes and updates to minimize compiler warnings</li> <li>Various bug fixes and updates to minimize compiler warnings</li>
<li>ADSR fix for decay/release time calculations</li> <li>ADSR fix for decay/release time calculations</li>
<li>Various updates to build system</li> <li>Various updates to build system</li>

View File

@@ -183,10 +183,6 @@ inline StkFloat FreeVerb::tick( StkFloat inputL, StkFloat inputR, unsigned int c
} }
#endif #endif
if ( !inputR ) {
inputR = inputL;
}
StkFloat fInput = (inputL + inputR) * gain_; StkFloat fInput = (inputL + inputR) * gain_;
StkFloat outL = 0.0; StkFloat outL = 0.0;
StkFloat outR = 0.0; StkFloat outR = 0.0;

View File

@@ -2,6 +2,7 @@
#define STK_STK_H #define STK_STK_H
#include <string> #include <string>
#include <cstring>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <vector> #include <vector>