mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-06 10:47:34 +01:00
Fix spelling errors
Fixed with: codespell --ignore-words-list=hist,parm,sur --skip=./core/src/imgui,./core/src/json.hpp,./core/libcorrect,./core/src/spdlog,./misc_modules/discord_integration/discord-rpc,./misc_modules/discord_integration/discord-rpc/include/rapidjson,./source_modules/sddc_source/src/libsddc
This commit is contained in:
parent
71c95af711
commit
98f4f560ad
@ -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)");
|
||||
|
@ -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();
|
||||
|
@ -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");
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <condition_variable>
|
||||
|
||||
/*
|
||||
Ryzerth's Epic Networking Functins
|
||||
Ryzerth's Epic Networking Functions
|
||||
*/
|
||||
|
||||
namespace net {
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user