Fix user-facing and non-user-facing typos

Found via `codespell v2.1.dev0`
This commit is contained in:
luz paz 2020-12-11 07:37:23 -05:00
commit e1c3e59ee8
116 changed files with 233 additions and 233 deletions

View file

@ -130,7 +130,7 @@ void PaQa_SetupSineGenerator( PaQaSineGenerator *generator, double frequency, do
/*================= Recordings ===================================*/
/*================================================================*/
/**
* Allocate memory for containg a mono audio signal. Set up recording for writing.
* Allocate memory for containing a mono audio signal. Set up recording for writing.
*/
int PaQa_InitializeRecording( PaQaRecording *recording, int maxSamples, int sampleRate );

View file

@ -891,7 +891,7 @@ static int PaQa_SingleLoopBackTest( UserOptions *userOptions, TestParameters *te
printf( "OK" );
}
// Print the # errors so far to make it easier to see where the error occured.
// Print the # errors so far to make it easier to see where the error occurred.
printf( " - #errs = %d\n", g_testsFailed );
PaQa_TeardownLoopbackContext( &loopbackContext );
@ -1304,7 +1304,7 @@ static int CheckLoopbackAndScan( UserOptions *userOptions,
/**
* Scan every combination of output to input device.
* If a loopback is found the analyse the combination.
* The scan can be overriden using the -i and -o command line options.
* The scan can be overridden using the -i and -o command line options.
*/
static int ScanForLoopback(UserOptions *userOptions)
{

View file

@ -146,7 +146,7 @@ void PaQa_ConvertFromFloat( const float *input, int numSamples, PaSampleFormat o
for( i=0; i<numSamples; i++ )
{
float value = *input++;
// Use assymmetric conversion to avoid clipping.
// Use asymmetric conversion to avoid clipping.
short sval = value * 32767.0;
*data++ = sval;
}
@ -159,7 +159,7 @@ void PaQa_ConvertFromFloat( const float *input, int numSamples, PaSampleFormat o
for( i=0; i<numSamples; i++ )
{
float value = *input++;
// Use assymmetric conversion to avoid clipping.
// Use asymmetric conversion to avoid clipping.
int ival = value * ((double) 0x007FFFF0);
ival = ival << 8;
*data++ = ival;