Even more unused parameters
This commit is contained in:
parent
035353123d
commit
86fab39d84
|
@ -37,11 +37,11 @@ void IOThread::terminate() {
|
|||
terminated.store(true);
|
||||
};
|
||||
|
||||
void IOThread::onBindOutput(std::string name, ThreadQueueBase* threadQueue) {
|
||||
void IOThread::onBindOutput(std::string /* name */, ThreadQueueBase* /* threadQueue */) {
|
||||
|
||||
};
|
||||
|
||||
void IOThread::onBindInput(std::string name, ThreadQueueBase* threadQueue) {
|
||||
void IOThread::onBindInput(std::string /* name */, ThreadQueueBase* /* threadQueue */) {
|
||||
|
||||
};
|
||||
|
||||
|
@ -65,4 +65,4 @@ void *IOThread::getOutputQueue(std::string qname) {
|
|||
|
||||
bool IOThread::isTerminated() {
|
||||
return terminated.load();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ std::string ModemDigital::getType() {
|
|||
return "digital";
|
||||
}
|
||||
|
||||
int ModemDigital::checkSampleRate(long long sampleRate, int audioSampleRate) {
|
||||
int ModemDigital::checkSampleRate(long long sampleRate, int /* audioSampleRate */) {
|
||||
if (sampleRate < MIN_BANDWIDTH) {
|
||||
return MIN_BANDWIDTH;
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ void ModemDigital::updateDemodulatorLock(modem mod, float sensitivity) {
|
|||
setDemodulatorLock(modem_get_demodulator_evm(mod) <= sensitivity);
|
||||
}
|
||||
|
||||
void ModemDigital::digitalStart(ModemKitDigital *kit, modem mod, ModemIQData *input) {
|
||||
void ModemDigital::digitalStart(ModemKitDigital * /* kit */, modem /* mod */, ModemIQData *input) {
|
||||
int bufSize = input->data.size();
|
||||
|
||||
if (demodOutputDataDigital.size() != bufSize) {
|
||||
|
@ -64,7 +64,7 @@ void ModemDigital::digitalStart(ModemKitDigital *kit, modem mod, ModemIQData *in
|
|||
}
|
||||
}
|
||||
|
||||
void ModemDigital::digitalFinish(ModemKitDigital *kit, modem mod) {
|
||||
void ModemDigital::digitalFinish(ModemKitDigital * /* kit */, modem /* mod */) {
|
||||
#if ENABLE_DIGITAL_LAB
|
||||
if (digitalOut && outStream.str().length()) {
|
||||
digitalOut->write(outStream.str());
|
||||
|
@ -79,4 +79,4 @@ void ModemDigital::digitalFinish(ModemKitDigital *kit, modem mod) {
|
|||
void ModemDigital::setOutput(ModemDigitalOutput *modemDigitalOutput) {
|
||||
digitalOut = modemDigitalOutput;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -30,7 +30,7 @@ Modem *ModemFMStereo::factory() {
|
|||
return new ModemFMStereo;
|
||||
}
|
||||
|
||||
int ModemFMStereo::checkSampleRate(long long sampleRate, int audioSampleRate) {
|
||||
int ModemFMStereo::checkSampleRate(long long sampleRate, int /* audioSampleRate */) {
|
||||
if (sampleRate < 100000) {
|
||||
return 100000;
|
||||
} else if (sampleRate < 1500) {
|
||||
|
|
|
@ -27,7 +27,7 @@ void ModemIQ::disposeKit(ModemKit *kit) {
|
|||
delete kit;
|
||||
}
|
||||
|
||||
int ModemIQ::checkSampleRate(long long sampleRate, int audioSampleRate) {
|
||||
int ModemIQ::checkSampleRate(long long /* sampleRate */, int audioSampleRate) {
|
||||
return audioSampleRate;
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ int ModemIQ::getDefaultSampleRate() {
|
|||
return 48000;
|
||||
}
|
||||
|
||||
void ModemIQ::demodulate(ModemKit *kit, ModemIQData *input, AudioThreadInput *audioOut) {
|
||||
void ModemIQ::demodulate(ModemKit * /* kit */, ModemIQData *input, AudioThreadInput *audioOut) {
|
||||
int bufSize = input->data.size();
|
||||
|
||||
if (!bufSize) {
|
||||
|
|
|
@ -33,7 +33,7 @@ ModemLSB::~ModemLSB() {
|
|||
ampmodem_destroy(demodAM_LSB);
|
||||
}
|
||||
|
||||
int ModemLSB::checkSampleRate(long long sampleRate, int audioSampleRate) {
|
||||
int ModemLSB::checkSampleRate(long long sampleRate, int /* audioSampleRate */) {
|
||||
if (sampleRate < MIN_BANDWIDTH) {
|
||||
return MIN_BANDWIDTH;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ ModemUSB::~ModemUSB() {
|
|||
ampmodem_destroy(demodAM_USB);
|
||||
}
|
||||
|
||||
int ModemUSB::checkSampleRate(long long sampleRate, int audioSampleRate) {
|
||||
int ModemUSB::checkSampleRate(long long sampleRate, int /* audioSampleRate */) {
|
||||
if (sampleRate < MIN_BANDWIDTH) {
|
||||
return MIN_BANDWIDTH;
|
||||
}
|
||||
|
|
|
@ -1551,7 +1551,7 @@ bool DataTree::SaveToFileXML(const std::string& filename) {
|
|||
}
|
||||
*/
|
||||
|
||||
bool DataTree::SaveToFile(const std::string& filename, bool compress, int compress_level) {
|
||||
bool DataTree::SaveToFile(const std::string& filename, bool compress, int /* compress_level */) {
|
||||
long dataSize, compressedSize, headerSize;
|
||||
char *serialized = nullptr, *hdr_serialized = nullptr, *compressed = nullptr;
|
||||
DataTree dtHeader;
|
||||
|
|
|
@ -47,7 +47,7 @@ void MouseTracker::OnMouseMoved(wxMouseEvent& event) {
|
|||
lastMouseY = mouseY;
|
||||
}
|
||||
|
||||
void MouseTracker::OnMouseWheelMoved(wxMouseEvent& event) {
|
||||
void MouseTracker::OnMouseWheelMoved(wxMouseEvent& /* event */) {
|
||||
// std::cout << "wheel?" << std::endl;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ void MouseTracker::OnMouseDown(wxMouseEvent& event) {
|
|||
isMouseDown = true;
|
||||
}
|
||||
|
||||
void MouseTracker::OnMouseReleased(wxMouseEvent& event) {
|
||||
void MouseTracker::OnMouseReleased(wxMouseEvent& /* event */) {
|
||||
isMouseDown = false;
|
||||
}
|
||||
|
||||
|
@ -87,17 +87,17 @@ void MouseTracker::OnMouseRightDown(wxMouseEvent& event) {
|
|||
isMouseRightDown = true;
|
||||
}
|
||||
|
||||
void MouseTracker::OnMouseRightReleased(wxMouseEvent& event) {
|
||||
void MouseTracker::OnMouseRightReleased(wxMouseEvent& /* event */) {
|
||||
isMouseRightDown = false;
|
||||
}
|
||||
|
||||
void MouseTracker::OnMouseEnterWindow(wxMouseEvent& event) {
|
||||
void MouseTracker::OnMouseEnterWindow(wxMouseEvent& /* event */) {
|
||||
isMouseInView = true;
|
||||
isMouseDown = false;
|
||||
isMouseRightDown = false;
|
||||
}
|
||||
|
||||
void MouseTracker::OnMouseLeftWindow(wxMouseEvent& event) {
|
||||
void MouseTracker::OnMouseLeftWindow(wxMouseEvent& /* event */) {
|
||||
isMouseDown = false;
|
||||
isMouseRightDown = false;
|
||||
isMouseInView = false;
|
||||
|
|
|
@ -112,7 +112,7 @@ void TuningContext::DrawTuner(long long freq, int count, float displayPos, float
|
|||
}
|
||||
|
||||
|
||||
void TuningContext::DrawTunerDigitBox(int index, int count, float displayPos, float displayWidth, RGBA4f c) {
|
||||
void TuningContext::DrawTunerDigitBox(int index, int count, float displayPos, float displayWidth, RGBA4f /* c */) {
|
||||
GLint vp[4];
|
||||
glGetIntegerv( GL_VIEWPORT, vp);
|
||||
|
||||
|
@ -152,7 +152,7 @@ int TuningContext::GetTunerDigitIndex(float mPos, int count, float displayPos, f
|
|||
return count - index;
|
||||
}
|
||||
|
||||
void TuningContext::DrawTunerBarIndexed(int start, int end, int count, float displayPos, float displayWidth, RGBA4f color, float alpha, bool top,
|
||||
void TuningContext::DrawTunerBarIndexed(int start, int end, int count, float displayPos, float displayWidth, RGBA4f color, float /* alpha */, bool top,
|
||||
bool bottom) {
|
||||
float ofs = (displayWidth / (float) count);
|
||||
float p2 = displayPos + ofs * (float) (count - start + 1);
|
||||
|
|
Loading…
Reference in New Issue