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
|
|
@ -1962,7 +1962,7 @@ static PaError PaAlsaStreamComponent_InitialConfigure( PaAlsaStreamComponent *se
|
|||
{
|
||||
/* Configuration consists of setting all of ALSA's parameters.
|
||||
* These parameters come in two flavors: hardware parameters
|
||||
* and software paramters. Hardware parameters will affect
|
||||
* and software parameters. Hardware parameters will affect
|
||||
* the way the device is initialized, software parameters
|
||||
* affect the way ALSA interacts with me, the user-level client.
|
||||
*/
|
||||
|
|
@ -1976,7 +1976,7 @@ static PaError PaAlsaStreamComponent_InitialConfigure( PaAlsaStreamComponent *se
|
|||
|
||||
/* self->framesPerPeriod = framesPerHostBuffer; */
|
||||
|
||||
/* ... fill up the configuration space with all possibile
|
||||
/* ... fill up the configuration space with all possible
|
||||
* combinations of parameters this device will accept */
|
||||
ENSURE_( alsa_snd_pcm_hw_params_any( pcm, hwParams ), paUnanticipatedHostError );
|
||||
|
||||
|
|
@ -2161,7 +2161,7 @@ static PaError PaAlsaStream_Initialize( PaAlsaStream *self, PaAlsaHostApiReprese
|
|||
|
||||
self->framesPerUserBuffer = framesPerUserBuffer;
|
||||
self->neverDropInput = streamFlags & paNeverDropInput;
|
||||
/* XXX: Ignore paPrimeOutputBuffersUsingStreamCallback untill buffer priming is fully supported in pa_process.c */
|
||||
/* XXX: Ignore paPrimeOutputBuffersUsingStreamCallback until buffer priming is fully supported in pa_process.c */
|
||||
/*
|
||||
if( outParams & streamFlags & paPrimeOutputBuffersUsingStreamCallback )
|
||||
self->primeBuffers = 1;
|
||||
|
|
@ -2389,7 +2389,7 @@ static PaError PaAlsaStreamComponent_DetermineFramesPerBuffer( PaAlsaStreamCompo
|
|||
{
|
||||
framesPerHostBuffer *= 2;
|
||||
}
|
||||
/* One extra period is preferrable to one less (should be more robust) */
|
||||
/* One extra period is preferable to one less (should be more robust) */
|
||||
if( bufferSize / framesPerHostBuffer < numPeriods )
|
||||
{
|
||||
framesPerHostBuffer /= 2;
|
||||
|
|
@ -4186,7 +4186,7 @@ error:
|
|||
* directly is obtained from ALSA, we then request as much directly accessible memory as possible within this amount
|
||||
* from ALSA. The buffer memory is registered with the PA buffer processor and processing is carried out with
|
||||
* PaUtil_EndBufferProcessing. Finally, the number of processed frames is reported to ALSA. The processing can
|
||||
* happen in several iterations untill we have consumed the known number of available frames (or an xrun is detected).
|
||||
* happen in several iterations until we have consumed the known number of available frames (or an xrun is detected).
|
||||
*/
|
||||
static void *CallbackThreadFunc( void *userData )
|
||||
{
|
||||
|
|
@ -4272,7 +4272,7 @@ static void *CallbackThreadFunc( void *userData )
|
|||
/* There is still buffered output that needs to be processed */
|
||||
}
|
||||
|
||||
/* Wait for data to become available, this comes down to polling the ALSA file descriptors untill we have
|
||||
/* Wait for data to become available, this comes down to polling the ALSA file descriptors until we have
|
||||
* a number of available frames.
|
||||
*/
|
||||
PA_ENSURE( PaAlsaStream_WaitForFrames( stream, &framesAvail, &xrun ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue