diff options
Diffstat (limited to 'src/plugins/Input/gme')
| -rw-r--r-- | src/plugins/Input/gme/decoder_gme.cpp | 6 | ||||
| -rw-r--r-- | src/plugins/Input/gme/decoder_gme.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Input/gme/decoder_gme.cpp b/src/plugins/Input/gme/decoder_gme.cpp index 822852302..f5146c3a9 100644 --- a/src/plugins/Input/gme/decoder_gme.cpp +++ b/src/plugins/Input/gme/decoder_gme.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010 by Ilya Kotov * + * Copyright (C) 2010-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -77,7 +77,7 @@ bool DecoderGme::initialize() return true; } -qint64 DecoderGme::totalTime() +qint64 DecoderGme::totalTime() const { return m_totalTime; } @@ -87,7 +87,7 @@ void DecoderGme::seek(qint64 pos) gme_seek(m_emu, pos); } -int DecoderGme::bitrate() +int DecoderGme::bitrate() const { return 8; } diff --git a/src/plugins/Input/gme/decoder_gme.h b/src/plugins/Input/gme/decoder_gme.h index 29a88a96d..ac99175f2 100644 --- a/src/plugins/Input/gme/decoder_gme.h +++ b/src/plugins/Input/gme/decoder_gme.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010 by Ilya Kotov * + * Copyright (C) 2010-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); |
