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

Method updateStatus

src/interface/fragment/StatusFragment.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void StatusFragment::updateStatus(const DspStatus &status)
15{
16 ui->app_ver->setText(APP_VERSION_FULL);
17 ui->core_ver->setText(STR(JDSP_VERSION));
18 ui->proc->setText(status.IsProcessing ? tr("Processing") : tr("Not processing"));
19 ui->format->setText(QString::fromStdString(status.AudioFormat));
20 ui->samplerate->setText(QString::fromStdString(status.SamplingRate) + "Hz");
21}
22
23StatusFragment::~StatusFragment()
24{

Callers 1

MainWindowMethod · 0.80

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected