diff options
Diffstat (limited to 'src/plugins/Input/sid')
| -rw-r--r-- | src/plugins/Input/sid/decoder_sid.cpp | 6 | ||||
| -rw-r--r-- | src/plugins/Input/sid/decoder_sid.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Input/sid/decoder_sid.cpp b/src/plugins/Input/sid/decoder_sid.cpp index 4f8bd1392..65d707238 100644 --- a/src/plugins/Input/sid/decoder_sid.cpp +++ b/src/plugins/Input/sid/decoder_sid.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2013 by Ilya Kotov * + * Copyright (C) 2013-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -148,7 +148,7 @@ bool DecoderSID::initialize() return true; } -qint64 DecoderSID::totalTime() +qint64 DecoderSID::totalTime() const { return 0; } @@ -158,7 +158,7 @@ void DecoderSID::seek(qint64 pos) Q_UNUSED(pos); } -int DecoderSID::bitrate() +int DecoderSID::bitrate() const { return 8; } diff --git a/src/plugins/Input/sid/decoder_sid.h b/src/plugins/Input/sid/decoder_sid.h index 66704d0e9..d18d67000 100644 --- a/src/plugins/Input/sid/decoder_sid.h +++ b/src/plugins/Input/sid/decoder_sid.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2013-2014 by Ilya Kotov * + * Copyright (C) 2013-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -37,8 +37,8 @@ public: // Standard Decoder API bool initialize(); - qint64 totalTime(); - int bitrate(); + qint64 totalTime() const; + int bitrate() const; qint64 read(unsigned char *data, qint64 size); void seek(qint64); |
