Fix user-facing and non-user-facing typos
Found via `codespell v2.1.dev0`
This commit is contained in:
parent
37a97ac470
commit
e1c3e59ee8
116 changed files with 233 additions and 233 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue