Fixed humming noise

pull/36/head
Ryzerth 2020-07-20 20:22:13 +02:00
rodzic f8c9aa1be4
commit ed49ad6f7f
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -73,8 +73,8 @@ namespace dsp {
_this->_phase += _this->_phasorSpeed;
outBuf[i].i = sin(_this->_phase);
outBuf[i].q = cos(_this->_phase);
_this->_phase = fmodf(_this->_phase, 2.0f * 3.1415926535); // TODO: Get a more efficient generator
}
_this->_phase = fmodf(_this->_phase, 2.0f * 3.1415926535);
if (_this->output.write(outBuf, _this->_blockSize) < 0) { break; };
}
delete[] outBuf;

Wyświetl plik

@ -302,7 +302,7 @@ void drawWindow() {
ImGui::Combo("##_1_", &srId, soapy.txtSampleRateList.c_str());
}
else {
ImGui::Text("%s Samples/s", soapy.txtSampleRateList.c_str());
ImGui::Text("%.0f Samples/s", soapy.sampleRates[srId]);
}
ImGui::SameLine();

Wyświetl plik

@ -1,3 +1,3 @@
#pragma once
#define VERSION_STR "0.2.1_alpha"
#define VERSION_STR "0.2.2_alpha"