summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluz paz <luzpaz@pm.me>2022-08-02 16:16:13 -0400
committerluz paz <luzpaz@pm.me>2022-08-02 16:16:13 -0400
commitb3066e45f5458253e59901d2f4fb915e5688b3c3 (patch)
tree61922131a971eb832a6e1b33a9c13ecb9b3830a2
parentd4ce280e9cd2358b67474e19c0b83f6645c3c13b (diff)
Fix various typos
Found via `codespell -q 3 -L buss,inout,inport,pevents,parm,ro`
-rw-r--r--RtAudio.cpp2
-rw-r--r--RtAudio.h2
-rw-r--r--include/asio.h2
-rw-r--r--include/dsound.h4
-rw-r--r--include/soundcard.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index afc15c8..55a9597 100644
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -3348,7 +3348,7 @@ RtApiAsio :: RtApiAsio()
coInitialized_ = false;
HRESULT hr = CoInitialize( NULL );
if ( FAILED(hr) ) {
- errorText_ = "RtApiAsio::ASIO requires a single-threaded appartment. Call CoInitializeEx(0,COINIT_APARTMENTTHREADED)";
+ errorText_ = "RtApiAsio::ASIO requires a single-threaded apartment. Call CoInitializeEx(0,COINIT_APARTMENTTHREADED)";
error( RTAUDIO_WARNING );
}
coInitialized_ = true;
diff --git a/RtAudio.h b/RtAudio.h
index 03061b1..a7853f9 100644
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -215,7 +215,7 @@ enum RtAudioErrorType {
RTAUDIO_NO_DEVICES_FOUND, /*!< No devices found on system. */
RTAUDIO_INVALID_DEVICE, /*!< An invalid device ID was specified. */
RTAUDIO_DEVICE_DISCONNECT, /*!< A device in use was disconnected. */
- RTAUDIO_MEMORY_ERROR, /*!< An error occured during memory allocation. */
+ RTAUDIO_MEMORY_ERROR, /*!< An error occurred during memory allocation. */
RTAUDIO_INVALID_PARAMETER, /*!< An invalid parameter was specified to a function. */
RTAUDIO_INVALID_USE, /*!< The function was called incorrectly. */
RTAUDIO_DRIVER_ERROR, /*!< A system driver error occurred. */
diff --git a/include/asio.h b/include/asio.h
index d267533..92d5e0a 100644
--- a/include/asio.h
+++ b/include/asio.h
@@ -400,7 +400,7 @@ typedef struct ASIOCallbacks
// - the input buffer that is now filled with incoming data. Note that
// because of the synchronicity of i/o, the input always has at
// least one buffer latency in relation to the output.
- // directProcess suggests to the host whether it should immedeately
+ // directProcess suggests to the host whether it should immediately
// start processing (directProcess == ASIOTrue), or whether its process
// should be deferred because the call comes from a very low level
// (for instance, a high level priority interrupt), and direct processing
diff --git a/include/dsound.h b/include/dsound.h
index ddc878b..2926dfe 100644
--- a/include/dsound.h
+++ b/include/dsound.h
@@ -2351,10 +2351,10 @@ DEFINE_GUID(GUID_DSCFX_SYSTEM_AEC, 0x1c22c56d, 0x9879, 0x4f5b, 0xa3, 0x89, 0x27,
// Matches KSNODETYPE_NOISE_SUPPRESS in post Windows ME DDK's ksmedia.h
DEFINE_GUID(GUID_DSCFX_CLASS_NS, 0xe07f903f, 0x62fd, 0x4e60, 0x8c, 0xdd, 0xde, 0xa7, 0x23, 0x66, 0x65, 0xb5);
-// Microsoft Noise Suppresion {11C5C73B-66E9-4ba1-A0BA-E814C6EED92D}
+// Microsoft Noise Suppression {11C5C73B-66E9-4ba1-A0BA-E814C6EED92D}
DEFINE_GUID(GUID_DSCFX_MS_NS, 0x11c5c73b, 0x66e9, 0x4ba1, 0xa0, 0xba, 0xe8, 0x14, 0xc6, 0xee, 0xd9, 0x2d);
-// System Noise Suppresion {5AB0882E-7274-4516-877D-4EEE99BA4FD0}
+// System Noise Suppression {5AB0882E-7274-4516-877D-4EEE99BA4FD0}
DEFINE_GUID(GUID_DSCFX_SYSTEM_NS, 0x5ab0882e, 0x7274, 0x4516, 0x87, 0x7d, 0x4e, 0xee, 0x99, 0xba, 0x4f, 0xd0);
#endif // DIRECTSOUND_VERSION >= 0x0800
diff --git a/include/soundcard.h b/include/soundcard.h
index 2131d8a..4a659b8 100644
--- a/include/soundcard.h
+++ b/include/soundcard.h
@@ -932,7 +932,7 @@ typedef struct copr_msg {
/*
* The AD1848 codec and compatibles have three line level inputs
* (line, aux1 and aux2). Since each card manufacturer have assigned
- * different meanings to these inputs, it's inpractical to assign
+ * different meanings to these inputs, it's impractical to assign
* specific meanings (line, cd, synth etc.) to them.
*/
#define SOUND_MIXER_LINE1 14 /* Input source 1 (aux1) */