diff --git a/core/src/core.cpp b/core/src/core.cpp index a8d0c8f4..71d0715d 100644 --- a/core/src/core.cpp +++ b/core/src/core.cpp @@ -311,7 +311,7 @@ int sdrpp_main(int argc, char* argv[]) { json bandColors = core::configManager.conf["bandColors"]; core::configManager.release(); - // Assert that the resource directory is absolute and check existance + // Assert that the resource directory is absolute and check existence resDir = std::filesystem::absolute(resDir).string(); if (!std::filesystem::is_directory(resDir)) { spdlog::error("Resource directory doesn't exist! Please make sure that you've configured it correctly in config.json (check readme for details)"); diff --git a/core/src/dsp/compression.h b/core/src/dsp/compression.h index b3f4d34c..f97e11bc 100644 --- a/core/src/dsp/compression.h +++ b/core/src/dsp/compression.h @@ -72,7 +72,7 @@ namespace dsp { float maxVal = ((float*)_in->readBuf)[maxIdx]; *scaler = maxVal; - // Convert to the right type and send it out (sign bit determins pcm type) + // Convert to the right type and send it out (sign bit determines pcm type) if (type == PCM_TYPE_I8) { volk_32f_s32f_convert_8i((int8_t*)dataBuf, (float*)_in->readBuf, 128.0f / maxVal, count * 2); _in->flush(); diff --git a/core/src/gui/widgets/line_push_image.cpp b/core/src/gui/widgets/line_push_image.cpp index 225bac27..7128c887 100644 --- a/core/src/gui/widgets/line_push_image.cpp +++ b/core/src/gui/widgets/line_push_image.cpp @@ -46,7 +46,7 @@ namespace ImGui { int oldLineCount = _lineCount; _lineCount += count; - // If new data either fills up or excedes the limit, reallocate + // If new data either fills up or exceeds the limit, reallocate // TODO: Change it to avoid bug if count >= reservedIncrement if (_lineCount > reservedCount) { printf("Reallocating\n"); diff --git a/core/src/utils/new_networking.h b/core/src/utils/new_networking.h index c893bc21..1e6d651a 100644 --- a/core/src/utils/new_networking.h +++ b/core/src/utils/new_networking.h @@ -6,7 +6,7 @@ #include /* - Ryzerth's Epic Networking Functins + Ryzerth's Epic Networking Functions */ namespace net { diff --git a/decoder_modules/radio/src/radio_module.h b/decoder_modules/radio/src/radio_module.h index f1a57f38..48bfbf3a 100644 --- a/decoder_modules/radio/src/radio_module.h +++ b/decoder_modules/radio/src/radio_module.h @@ -34,7 +34,7 @@ public: RadioModule(std::string name) { this->name = name; - // Intialize option lists + // Initialize option lists deempModes.define("None", DEEMP_MODE_NONE); deempModes.define("22us", DEEMP_MODE_22US); deempModes.define("50us", DEEMP_MODE_50US); @@ -456,7 +456,7 @@ private: setDeemphasisMode(deempModes[deempId]); } else { - // Disable everyting if post processing is disabled + // Disable everything if post processing is disabled afChain.disableAll(); } diff --git a/source_modules/airspy_source/src/main.cpp b/source_modules/airspy_source/src/main.cpp index 101acb9f..89846a59 100644 --- a/source_modules/airspy_source/src/main.cpp +++ b/source_modules/airspy_source/src/main.cpp @@ -444,7 +444,7 @@ private: } } else if (_this->gainMode == 2) { - // TODO: Switch to a table for alignement + // TODO: Switch to a table for alignment if (_this->lnaAgc) { SmGui::BeginDisabled(); } SmGui::LeftLabel("LNA Gain"); SmGui::FillWidth();