From 5f4a1ef29564a4a4568b471b5ed41b2ff2cd5b5e Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 10 Oct 2008 09:24:15 +0000 Subject: enabled flac plugin git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@576 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/decoder_flac.h | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to 'src/plugins/Input/flac/decoder_flac.h') diff --git a/src/plugins/Input/flac/decoder_flac.h b/src/plugins/Input/flac/decoder_flac.h index 277348349..8431a4555 100644 --- a/src/plugins/Input/flac/decoder_flac.h +++ b/src/plugins/Input/flac/decoder_flac.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Ilya Kotov * + * Copyright (C) 2006-2008 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -63,28 +63,10 @@ public: // Standard Decoder API bool initialize(); - double lengthInSeconds(); - void seek(double); + qint64 lengthInSeconds(); + void seek(qint64); void stop(); - // Equalizer - bool isEQSupported() const - { - return FALSE; - } - void setEQEnabled(bool) - { - ; - } - void setEQGain(int) - { - ; - } - void setEQBands(int[10]) - { - ; - } - struct flac_data *data() { return m_data; @@ -111,7 +93,7 @@ private: FLAC__StreamDecoder *m_flacDecoder; unsigned int bks; - bool done, finish; + bool done, m_finish; long len, freq, bitrate; int chan; unsigned long output_size; -- cgit v1.2.3-13-gbd6f