From 868b4f765de568c38604389ecfa53c088d312695 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 14 Sep 2016 06:58:15 +0000 Subject: changed decoder api git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6715 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/cdaudio/decoder_cdaudio.cpp | 6 +++--- src/plugins/Input/cdaudio/decoder_cdaudio.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/plugins/Input/cdaudio') diff --git a/src/plugins/Input/cdaudio/decoder_cdaudio.cpp b/src/plugins/Input/cdaudio/decoder_cdaudio.cpp index 1b0be129c..9fa35dbd5 100644 --- a/src/plugins/Input/cdaudio/decoder_cdaudio.cpp +++ b/src/plugins/Input/cdaudio/decoder_cdaudio.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2014 by Ilya Kotov * + * Copyright (C) 2009-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -459,12 +459,12 @@ bool DecoderCDAudio::initialize() } -qint64 DecoderCDAudio::totalTime() +qint64 DecoderCDAudio::totalTime() const { return m_totalTime; } -int DecoderCDAudio::bitrate() +int DecoderCDAudio::bitrate() const { return m_bitrate; } diff --git a/src/plugins/Input/cdaudio/decoder_cdaudio.h b/src/plugins/Input/cdaudio/decoder_cdaudio.h index cdc21f3c1..1ae705c9c 100644 --- a/src/plugins/Input/cdaudio/decoder_cdaudio.h +++ b/src/plugins/Input/cdaudio/decoder_cdaudio.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2012 by Ilya Kotov * + * Copyright (C) 2009-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -52,8 +52,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); -- cgit v1.2.3-13-gbd6f