diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-09-14 06:58:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-09-14 06:58:15 +0000 |
| commit | 868b4f765de568c38604389ecfa53c088d312695 (patch) | |
| tree | 48b6c06f245ac5361bae3c4fb08a25c03576c9cb /src/plugins/Input/aac | |
| parent | d894be75f42dead336c4ac591d98ff1b91474368 (diff) | |
| download | qmmp-868b4f765de568c38604389ecfa53c088d312695.tar.gz qmmp-868b4f765de568c38604389ecfa53c088d312695.tar.bz2 qmmp-868b4f765de568c38604389ecfa53c088d312695.zip | |
changed decoder api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6715 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/aac')
| -rw-r--r-- | src/plugins/Input/aac/decoder_aac.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/aac/decoder_aac.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Input/aac/decoder_aac.cpp b/src/plugins/Input/aac/decoder_aac.cpp index 657833c85..db3853012 100644 --- a/src/plugins/Input/aac/decoder_aac.cpp +++ b/src/plugins/Input/aac/decoder_aac.cpp @@ -184,12 +184,12 @@ qint64 DecoderAAC::read(unsigned char *audio, qint64 maxSize) return size; } -qint64 DecoderAAC::totalTime() +qint64 DecoderAAC::totalTime() const { return m_totalTime; } -int DecoderAAC::bitrate() +int DecoderAAC::bitrate() const { return m_bitrate; } diff --git a/src/plugins/Input/aac/decoder_aac.h b/src/plugins/Input/aac/decoder_aac.h index f873118f8..834007e73 100644 --- a/src/plugins/Input/aac/decoder_aac.h +++ b/src/plugins/Input/aac/decoder_aac.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2014 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 * @@ -45,8 +45,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); |
