aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/qsui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Ui/qsui/mainwindow.cpp')
-rw-r--r--src/plugins/Ui/qsui/mainwindow.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/Ui/qsui/mainwindow.cpp b/src/plugins/Ui/qsui/mainwindow.cpp
index e92ed21a3..56f5622ca 100644
--- a/src/plugins/Ui/qsui/mainwindow.cpp
+++ b/src/plugins/Ui/qsui/mainwindow.cpp
@@ -369,11 +369,12 @@ void MainWindow::updateStatus()
if(m_core->state() == Qmmp::Playing || m_core->state() == Qmmp::Paused)
{
+ AudioParameters ap = m_core->audioParameters();
m_statusLabel->setText(tr("<b>%1</b>|%2 bit|%3 ch|%4 Hz|tracks: %5|total time: %6|%7 kbps|")
.arg(m_core->state() == Qmmp::Playing ? tr("Playing") : tr("Paused"))
- .arg(m_core->sampleSize())
- .arg(m_core->channels())
- .arg(m_core->frequency())
+ .arg(ap.validBitsPerSample())
+ .arg(ap.channels())
+ .arg(ap.sampleRate())
.arg(tracks)
.arg(MetaDataFormatter::formatLength(length, false))
.arg(m_core->bitrate()));