aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-10-22 13:05:01 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-10-22 13:05:01 +0000
commit065387600c5d8e3b045802d82c5d4ab12b208e2a (patch)
tree9e074d87ad91d269445488225f3a977593a47266 /src/plugins/General
parent49284bb0d33a2598f96645182984bc3fa671b932 (diff)
downloadqmmp-065387600c5d8e3b045802d82c5d4ab12b208e2a.tar.gz
qmmp-065387600c5d8e3b045802d82c5d4ab12b208e2a.tar.bz2
qmmp-065387600c5d8e3b045802d82c5d4ab12b208e2a.zip
changed SoundCore API, fixed displaying bits per sample (#926)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7613 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/mpris/mpris1/playerobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/mpris/mpris1/playerobject.cpp b/src/plugins/General/mpris/mpris1/playerobject.cpp
index 3605c51a0..866a9858b 100644
--- a/src/plugins/General/mpris/mpris1/playerobject.cpp
+++ b/src/plugins/General/mpris/mpris1/playerobject.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2013 by Ilya Kotov *
+ * Copyright (C) 2008-2017 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -143,7 +143,7 @@ QVariantMap PlayerObject::GetMetadata()
map.insert("genre", m_core->metaData(Qmmp::GENRE));
map.insert("comment", m_core->metaData(Qmmp::COMMENT));
map.insert("audio-bitrate", (quint32)m_core->bitrate());
- map.insert("audio-samplerate", (quint32)m_core->frequency());
+ map.insert("audio-samplerate", (quint32)m_core->audioParameters().sampleRate());
map.insert("year", m_core->metaData(Qmmp::YEAR).toUInt());
return map;
}