diff options
Diffstat (limited to 'src/plugins/Input/mpc')
| -rw-r--r-- | src/plugins/Input/mpc/decoder_mpc.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/mpc/decoder_mpc.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Input/mpc/decoder_mpc.cpp b/src/plugins/Input/mpc/decoder_mpc.cpp index 1d273da66..edb5901d6 100644 --- a/src/plugins/Input/mpc/decoder_mpc.cpp +++ b/src/plugins/Input/mpc/decoder_mpc.cpp @@ -179,12 +179,12 @@ bool DecoderMPC::initialize() return true; } -qint64 DecoderMPC::totalTime() +qint64 DecoderMPC::totalTime() const { return m_totalTime; } -int DecoderMPC::bitrate() +int DecoderMPC::bitrate() const { return m_bitrate; } diff --git a/src/plugins/Input/mpc/decoder_mpc.h b/src/plugins/Input/mpc/decoder_mpc.h index caae0e9c8..ad2268785 100644 --- a/src/plugins/Input/mpc/decoder_mpc.h +++ b/src/plugins/Input/mpc/decoder_mpc.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2015 by Ilya Kotov * + * Copyright (C) 2006-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -53,8 +53,8 @@ public: // Standard Decoder API bool initialize(); - qint64 totalTime(); - int bitrate(); + qint64 totalTime() const; + int bitrate() const; qint64 read(unsigned char *audio, qint64 maxSize); void seek(qint64 time); |
