1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 12:02:28 +01:00

Merged typo correction patch

This commit is contained in:
Olli 2018-05-12 18:40:56 +03:00
commit 47f74e83ef
14 changed files with 21 additions and 20 deletions

View File

@ -865,6 +865,7 @@ submitted bugfixes:</p>
<li> Takashi Iwai</li>
<li> Thomas Klausner</li>
<li> Lu Zhihe</li>
<li> Luzpaz</li>
<li> Tony Mechelynck </li>
<li> Mathias M&ouml;hl</li>
<li> Yuval Naveh</li>

View File

@ -17,7 +17,7 @@
## Place - Suite 330, Boston, MA 02111-1307, USA
## These are common definitions used in all Makefiles
## It is actually included when a makefile.am is coverted to Makefile.in
## It is actually included when a makefile.am is converted to Makefile.in
## by automake, so it's ok to have @MACROS@ that will be set by configure
AM_CPPFLAGS=-I$(top_srcdir)/include

View File

@ -112,7 +112,7 @@ public:
/// 'putSamples(numSamples)' function.
SAMPLETYPE *ptrEnd(
uint slackCapacity ///< How much free capacity (in samples) there _at least_
///< should be so that the caller can succesfully insert the
///< should be so that the caller can successfully insert the
///< desired samples to the buffer. If necessary, the function
///< grows the buffer size to comply with this requirement.
);

View File

@ -313,7 +313,7 @@ public:
/// Changes a setting controlling the processing system behaviour. See the
/// 'SETTING_...' defines for available setting ID's.
///
/// \return 'true' if the setting was succesfully changed
/// \return 'true' if the setting was successfully changed
bool setSetting(int settingId, ///< Setting ID number. see SETTING_... defines.
int value ///< New setting value.
);

View File

@ -26,7 +26,7 @@ bin_PROGRAMS=soundstretch
noinst_HEADERS=RunParameters.h WavFile.h
# extra files to include in distrubution tarball
# extra files to include in distribution tarball
EXTRA_DIST=soundstretch.dsp soundstretch.dsw soundstretch.sln soundstretch.vcproj
## for every name listed under bin_PROGRAMS, you have a <prog>_SOURCES. This lists

View File

@ -254,7 +254,7 @@ void BPMDetect::inputSamples(const SAMPLETYPE *samples, int numSamples)
buffer->putSamples(decimated, decSamples);
}
// when the buffer has enought samples for processing...
// when the buffer has enough samples for processing...
while ((int)buffer->numSamples() >= windowLen + xcorr_update_sequence)
{
// ... calculate autocorrelations for oldest samples...

View File

@ -124,7 +124,7 @@ void FIFOSampleBuffer::putSamples(uint nSamples)
//
// Parameter 'slackCapacity' tells the function how much free capacity (in
// terms of samples) there _at least_ should be, in order to the caller to
// succesfully insert all the required samples to the buffer. When necessary,
// successfully insert all the required samples to the buffer. When necessary,
// the function grows the buffer size to comply with this requirement.
//
// When using this function as means for inserting new samples, also remember
@ -151,7 +151,7 @@ SAMPLETYPE *FIFOSampleBuffer::ptrBegin()
}
// Ensures that the buffer has enought capacity, i.e. space for _at least_
// Ensures that the buffer has enough capacity, i.e. space for _at least_
// 'capacityRequirement' number of samples. The buffer is grown in steps of
// 4 kilobytes to eliminate the need for frequently growing up the buffer,
// as well as to round the buffer size up to the virtual memory page size.

View File

@ -131,7 +131,7 @@ public:
/// Use this function instead of "new" operator to create a new instance of this class.
/// This function automatically chooses a correct implementation, depending on if
/// integer ot floating point arithmetics are to be used.
/// integer or floating point arithmetics are to be used.
// static RateTransposer *newInstance();
/// Returns the output buffer object

View File

@ -360,7 +360,7 @@ int TDStretch::seekBestOverlapPositionFull(const SAMPLETYPE *refPos)
// with improved precision
//
// Based on testing:
// - This algorithm gives on average 99% as good match as the full algorith
// - This algorithm gives on average 99% as good match as the full algorithm
// - this quick seek algorithm finds the best match on ~90% of cases
// - on those 10% of cases when this algorithm doesn't find best match,
// it still finds on average ~90% match vs. the best possible match
@ -517,7 +517,7 @@ void TDStretch::clearCrossCorrState()
void TDStretch::calcSeqParameters()
{
// Adjust tempo param according to tempo, so that variating processing sequence length is used
// at varius tempo settings, between the given low...top limits
// at various tempo settings, between the given low...top limits
#define AUTOSEQ_TEMPO_LOW 0.5 // auto setting low tempo range (-50%)
#define AUTOSEQ_TEMPO_TOP 2.0 // auto setting top tempo range (+100%)

View File

@ -304,7 +304,7 @@ SOUNDTOUCHDLL_API void __cdecl soundtouch_clear(HANDLE h)
/// Changes a setting controlling the processing system behaviour. See the
/// 'SETTING_...' defines for available setting ID's.
///
/// \return 'nonzero' if the setting was succesfully changed
/// \return 'nonzero' if the setting was successfully changed
SOUNDTOUCHDLL_API int __cdecl soundtouch_setSetting(HANDLE h,
int settingId, ///< Setting ID number. see SETTING_... defines.
int value ///< New setting value.
@ -480,7 +480,7 @@ SOUNDTOUCHDLL_API void __cdecl bpm_putSamples(HANDLE h,
/// Feed 'numSamples' sample frames from 'samples' into the BPM detection handler.
/// 16bit int sample format verson.
/// 16bit int sample format version.
SOUNDTOUCHDLL_API void __cdecl bpm_putSamples_i16(HANDLE h,
const short *samples,
unsigned int numSamples)

View File

@ -153,7 +153,7 @@ SOUNDTOUCHDLL_API void __cdecl soundtouch_clear(HANDLE h);
/// Changes a setting controlling the processing system behaviour. See the
/// 'SETTING_...' defines for available setting ID's.
///
/// \return 'nonzero' if the setting was succesfully changed, otherwise zero
/// \return 'nonzero' if the setting was successfully changed, otherwise zero
SOUNDTOUCHDLL_API int __cdecl soundtouch_setSetting(HANDLE h,
int settingId, ///< Setting ID number. see SETTING_... defines.
int value ///< New setting value.
@ -210,7 +210,7 @@ SOUNDTOUCHDLL_API void __cdecl bpm_putSamples(HANDLE h,
);
/// Feed 'numSamples' sample frames from 'samples' into the BPM detector.
/// 16bit int sample format verson.
/// 16bit int sample format version.
SOUNDTOUCHDLL_API void __cdecl bpm_putSamples_i16(HANDLE h,
const short *samples, ///< Pointer to sample buffer.
unsigned int numSamples ///< Number of samples in buffer. Notice

View File

@ -114,7 +114,7 @@ type
// Changes a setting controlling the processing system behaviour. See the
// 'SETTING_...' defines for available setting ID's.
//
// \return 'TRUE' if the setting was succesfully changed
// \return 'TRUE' if the setting was successfully changed
TSoundTouchSetSetting = function (Handle: TSoundTouchHandle;
SettingId: Integer; //< Setting ID number. see SETTING_... defines.
Value: Integer //< New setting value.

View File

@ -39,7 +39,7 @@ namespace csharp_example
/// <summary>
/// Display SoundTouch library version string in status bar. This also indicates whether the DLL was loaded succesfully or not ...
/// Display SoundTouch library version string in status bar. This also indicates whether the DLL was loaded successfully or not ...
/// </summary>
private void DisplaySoundTouchVersion()
{

View File

@ -185,7 +185,7 @@ namespace csharp_example
/// <summary>
/// Start / resume playback
/// </summary>
/// <returns>true if succesful, false if audio file not open</returns>
/// <returns>true if successful, false if audio file not open</returns>
public bool Play()
{
if (waveOut == null) return false;
@ -201,7 +201,7 @@ namespace csharp_example
/// <summary>
/// Pause playback
/// </summary>
/// <returns>true if succesful, false if audio not playing</returns>
/// <returns>true if successful, false if audio not playing</returns>
public bool Pause()
{
if (waveOut == null) return false;
@ -218,7 +218,7 @@ namespace csharp_example
/// <summary>
/// Stop playback
/// </summary>
/// <returns>true if succesful, false if audio file not open</returns>
/// <returns>true if successful, false if audio file not open</returns>
public bool Stop()
{
if (waveOut == null) return false;
@ -238,7 +238,7 @@ namespace csharp_example
/// <summary>
/// Proxy event handler for receiving playback stoped event from WaveOut
/// Proxy event handler for receiving playback stopped event from WaveOut
/// </summary>
protected void EventHandler_stopped(object sender, StoppedEventArgs args)
{