Fix user-facing and non-user-facing typos
Found via `codespell v2.1.dev0` `codespell -q 3 -L chello,gord,guid,numer,pres,uint,wirth`
This commit is contained in:
parent
b50bca981e
commit
52b1026c1f
12 changed files with 17 additions and 17 deletions
|
|
@ -64,7 +64,7 @@ the extent to which PA will attempt to "play nice" and to what extent it
|
|||
will interrupt other apps to improve performance. For example, if 44100 Hz
|
||||
sample rate is requested but the device is set at 48000 Hz, PA can either
|
||||
change the device for optimal playback ("Pro" mode), which may interrupt
|
||||
other programs playing back audio, or simple use a sample-rate coversion,
|
||||
other programs playing back audio, or simple use a sample-rate conversion,
|
||||
which allows for friendlier sharing of the device ("Play Nice" mode).
|
||||
|
||||
Additionally, the user may define a "channel mapping" by calling
|
||||
|
|
|
|||
|
|
@ -2200,7 +2200,7 @@ static OSStatus AudioIOProc( void *inRefCon,
|
|||
/*
|
||||
static int renderCount = 0;
|
||||
static int inputCount = 0;
|
||||
printf( "------------------- starting reder/input\n" );
|
||||
printf( "------------------- starting render/input\n" );
|
||||
if( isRender )
|
||||
printf("Render callback (%d):\t", ++renderCount);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ typedef struct PaMacCore_S
|
|||
// HANDLE processingThread;
|
||||
// DWORD processingThreadId;
|
||||
|
||||
char throttleProcessingThreadOnOverload; // 0 -> don't throtte, non-0 -> throttle
|
||||
char throttleProcessingThreadOnOverload; // 0 -> don't throttle, non-0 -> throttle
|
||||
int processingThreadPriority;
|
||||
int highThreadPriority;
|
||||
int throttledThreadPriority;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
*/
|
||||
|
||||
/* Until May 2011 PA/DS has used a multimedia timer to perform the callback.
|
||||
We're replacing this with a new implementation using a thread and a different timer mechanim.
|
||||
We're replacing this with a new implementation using a thread and a different timer mechanism.
|
||||
Defining PA_WIN_DS_USE_WMME_TIMER uses the old (pre-May 2011) behavior.
|
||||
*/
|
||||
//#define PA_WIN_DS_USE_WMME_TIMER
|
||||
|
|
@ -322,7 +322,7 @@ static double PaWinDS_GetMinSystemLatencySeconds( void )
|
|||
NOTE: GetVersionEx() is deprecated as of Windows 8.1 and can not be used to reliably detect
|
||||
versions of Windows higher than Windows 8 (due to manifest requirements for reporting higher versions).
|
||||
Microsoft recommends switching to VerifyVersionInfo (available on Win 2k and later), however GetVersionEx
|
||||
is is faster, for now we just disable the deprecation warning.
|
||||
is faster, for now we just disable the deprecation warning.
|
||||
See: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
|
||||
See: http://www.codeproject.com/Articles/678606/Part-Overcoming-Windows-s-deprecation-of-GetVe
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ enum { WASAPI_PACKETS_PER_INPUT_BUFFER = 6 };
|
|||
// Mixer function
|
||||
typedef void (*MixMonoToStereoF) (void *__to, const void *__from, UINT32 count);
|
||||
|
||||
// AVRT is the new "multimedia schedulling stuff"
|
||||
// AVRT is the new "multimedia scheduling stuff"
|
||||
#ifndef PA_WINRT
|
||||
typedef BOOL (WINAPI *FAvRtCreateThreadOrderingGroup) (PHANDLE,PLARGE_INTEGER,GUID*,PLARGE_INTEGER);
|
||||
typedef BOOL (WINAPI *FAvRtDeleteThreadOrderingGroup) (HANDLE);
|
||||
|
|
@ -3610,7 +3610,7 @@ static PaError ActivateAudioClientOutput(PaWasapiStream *stream)
|
|||
// Correct buffer to max size if it maxed out result of GetBufferSize
|
||||
stream->out.bufferSize = maxBufferSize;
|
||||
|
||||
// Get interface latency (actually uneeded as we calculate latency from the size of maxBufferSize)
|
||||
// Get interface latency (actually unneeded as we calculate latency from the size of maxBufferSize)
|
||||
if (FAILED(hr = IAudioClient_GetStreamLatency(stream->out.clientParent, &stream->out.deviceLatency)))
|
||||
{
|
||||
LogHostError(hr);
|
||||
|
|
@ -3677,7 +3677,7 @@ static PaError ActivateAudioClientInput(PaWasapiStream *stream)
|
|||
// Correct buffer to max size if it maxed out result of GetBufferSize
|
||||
stream->in.bufferSize = maxBufferSize;
|
||||
|
||||
// Get interface latency (actually uneeded as we calculate latency from the size
|
||||
// Get interface latency (actually unneeded as we calculate latency from the size
|
||||
// of maxBufferSize).
|
||||
if (FAILED(hr = IAudioClient_GetStreamLatency(stream->in.clientParent, &stream->in.deviceLatency)))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -653,7 +653,7 @@ static BOOL IsEarlierThanVista()
|
|||
NOTE: GetVersionEx() is deprecated as of Windows 8.1 and can not be used to reliably detect
|
||||
versions of Windows higher than Windows 8 (due to manifest requirements for reporting higher versions).
|
||||
Microsoft recommends switching to VerifyVersionInfo (available on Win 2k and later), however GetVersionEx
|
||||
is is faster, for now we just disable the deprecation warning.
|
||||
is faster, for now we just disable the deprecation warning.
|
||||
See: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
|
||||
See: http://www.codeproject.com/Articles/678606/Part-Overcoming-Windows-s-deprecation-of-GetVe
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
|
||||
/* When client suggestedLatency could result in many host buffers, we aim to have around 8,
|
||||
based off Windows documentation that suggests that the kmixer uses 8 buffers. This choice
|
||||
is somewhat arbitrary here, since we haven't observed significant stability degredation
|
||||
is somewhat arbitrary here, since we haven't observed significant stability degradation
|
||||
with using either more, or less buffers.
|
||||
*/
|
||||
#define PA_MME_TARGET_HOST_BUFFER_COUNT_ 8
|
||||
|
|
@ -915,7 +915,7 @@ static void GetDefaultLatencies( PaTime *defaultLowLatency, PaTime *defaultHighL
|
|||
NOTE: GetVersionEx() is deprecated as of Windows 8.1 and can not be used to reliably detect
|
||||
versions of Windows higher than Windows 8 (due to manifest requirements for reporting higher versions).
|
||||
Microsoft recommends switching to VerifyVersionInfo (available on Win 2k and later), however GetVersionEx
|
||||
is is faster, for now we just disable the deprecation warning.
|
||||
is faster, for now we just disable the deprecation warning.
|
||||
See: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
|
||||
See: http://www.codeproject.com/Articles/678606/Part-Overcoming-Windows-s-deprecation-of-GetVe
|
||||
*/
|
||||
|
|
@ -2156,7 +2156,7 @@ struct PaWinMmeStream
|
|||
HANDLE processingThread;
|
||||
PA_THREAD_ID processingThreadId;
|
||||
|
||||
char throttleProcessingThreadOnOverload; /* 0 -> don't throtte, non-0 -> throttle */
|
||||
char throttleProcessingThreadOnOverload; /* 0 -> don't throttle, non-0 -> throttle */
|
||||
int processingThreadPriority;
|
||||
int highThreadPriority;
|
||||
int throttledThreadPriority;
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ PaError PaUtil_CancelThreading( PaUtilThreading *threading, int wait, PaError *e
|
|||
*/
|
||||
pthread_t paUnixMainThread = 0;
|
||||
#else
|
||||
/*pthreads are opaque. We don't know that asigning it an int value
|
||||
/*pthreads are opaque. We don't know that assigning it an int value
|
||||
always makes sense, so we don't initialize it unless we have to.*/
|
||||
pthread_t paUnixMainThread = 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue