| 370 | } |
| 371 | |
| 372 | bool 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 |
| 386 | bool CliRemoteController::checkConnectionAndLog() const |
nothing calls this directly
no test coverage detected