diff options
Diffstat (limited to 'src/plugins/Input/cue')
| -rw-r--r-- | src/plugins/Input/cue/decoder_cue.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/cue/decoder_cue.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Input/cue/decoder_cue.cpp b/src/plugins/Input/cue/decoder_cue.cpp index 29853ea2a..226e0749e 100644 --- a/src/plugins/Input/cue/decoder_cue.cpp +++ b/src/plugins/Input/cue/decoder_cue.cpp @@ -111,7 +111,7 @@ bool DecoderCUE::initialize() return true; } -qint64 DecoderCUE::totalTime() +qint64 DecoderCUE::totalTime() const { return m_decoder ? m_length : 0; } @@ -168,7 +168,7 @@ qint64 DecoderCUE::read(unsigned char *data, qint64 size) return len2; } -int DecoderCUE::bitrate() +int DecoderCUE::bitrate() const { return m_decoder->bitrate(); } diff --git a/src/plugins/Input/cue/decoder_cue.h b/src/plugins/Input/cue/decoder_cue.h index 08834cf60..a7dbd547c 100644 --- a/src/plugins/Input/cue/decoder_cue.h +++ b/src/plugins/Input/cue/decoder_cue.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2014 by Ilya Kotov * + * Copyright (C) 2008-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -36,10 +36,10 @@ public: // Standard Decoder API bool initialize(); - qint64 totalTime(); + qint64 totalTime() const; void seek(qint64); qint64 read(unsigned char *data, qint64 size); - int bitrate(); + int bitrate() const; const QString nextURL() const; void next(); |
