MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / showStatus

Method showStatus

src/utils/CliRemoteController.cpp:372–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372bool CliRemoteController::showStatus() const
373{
374 if(!requireConnectionAndLog())
375 return false;
376
377 Log::console("App version:\t" + service->appVersion(), true);
378 Log::console("Core version:\t" + service->coreVersion(), true);
379 Log::console("Sampling rate:\t" + service->samplingRate() + "Hz", true);
380 Log::console("Audio format:\t" + service->audioFormat(), true);
381 Log::console("Is processing:\t" + QString(service->isProcessing() ? "enabled" : "disabled"), true);
382 return true;
383}
384
385// Helper to warn about failed connection
386bool CliRemoteController::checkConnectionAndLog() const

Callers

nothing calls this directly

Calls 6

QStringClass · 0.50
appVersionMethod · 0.45
coreVersionMethod · 0.45
samplingRateMethod · 0.45
audioFormatMethod · 0.45
isProcessingMethod · 0.45

Tested by

no test coverage detected