Merge pull request #661 from dforsi/fix/typos

Fix spelling errors
This commit is contained in:
AlexandreRouma 2022-02-20 16:25:25 +01:00 committed by GitHub
commit 7de9f3f497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -311,7 +311,7 @@ int sdrpp_main(int argc, char* argv[]) {
json bandColors = core::configManager.conf["bandColors"]; json bandColors = core::configManager.conf["bandColors"];
core::configManager.release(); 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(); resDir = std::filesystem::absolute(resDir).string();
if (!std::filesystem::is_directory(resDir)) { 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)"); spdlog::error("Resource directory doesn't exist! Please make sure that you've configured it correctly in config.json (check readme for details)");

View File

@ -72,7 +72,7 @@ namespace dsp {
float maxVal = ((float*)_in->readBuf)[maxIdx]; float maxVal = ((float*)_in->readBuf)[maxIdx];
*scaler = maxVal; *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) { if (type == PCM_TYPE_I8) {
volk_32f_s32f_convert_8i((int8_t*)dataBuf, (float*)_in->readBuf, 128.0f / maxVal, count * 2); volk_32f_s32f_convert_8i((int8_t*)dataBuf, (float*)_in->readBuf, 128.0f / maxVal, count * 2);
_in->flush(); _in->flush();

View File

@ -46,7 +46,7 @@ namespace ImGui {
int oldLineCount = _lineCount; int oldLineCount = _lineCount;
_lineCount += count; _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 // TODO: Change it to avoid bug if count >= reservedIncrement
if (_lineCount > reservedCount) { if (_lineCount > reservedCount) {
printf("Reallocating\n"); printf("Reallocating\n");

View File

@ -6,7 +6,7 @@
#include <condition_variable> #include <condition_variable>
/* /*
Ryzerth's Epic Networking Functins Ryzerth's Epic Networking Functions
*/ */
namespace net { namespace net {

View File

@ -34,7 +34,7 @@ public:
RadioModule(std::string name) { RadioModule(std::string name) {
this->name = name; this->name = name;
// Intialize option lists // Initialize option lists
deempModes.define("None", DEEMP_MODE_NONE); deempModes.define("None", DEEMP_MODE_NONE);
deempModes.define("22us", DEEMP_MODE_22US); deempModes.define("22us", DEEMP_MODE_22US);
deempModes.define("50us", DEEMP_MODE_50US); deempModes.define("50us", DEEMP_MODE_50US);
@ -456,7 +456,7 @@ private:
setDeemphasisMode(deempModes[deempId]); setDeemphasisMode(deempModes[deempId]);
} }
else { else {
// Disable everyting if post processing is disabled // Disable everything if post processing is disabled
afChain.disableAll(); afChain.disableAll();
} }

View File

@ -444,7 +444,7 @@ private:
} }
} }
else if (_this->gainMode == 2) { else if (_this->gainMode == 2) {
// TODO: Switch to a table for alignement // TODO: Switch to a table for alignment
if (_this->lnaAgc) { SmGui::BeginDisabled(); } if (_this->lnaAgc) { SmGui::BeginDisabled(); }
SmGui::LeftLabel("LNA Gain"); SmGui::LeftLabel("LNA Gain");
SmGui::FillWidth(); SmGui::FillWidth();