aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac/decoder_flac.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-10-10 09:24:15 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-10-10 09:24:15 +0000
commit5f4a1ef29564a4a4568b471b5ed41b2ff2cd5b5e (patch)
tree2577656e1dfd7682785cbf2aee66c47b3405d5ff /src/plugins/Input/flac/decoder_flac.h
parent45117f6d2f2ccfb47af840d4416f43607d83d518 (diff)
downloadqmmp-5f4a1ef29564a4a4568b471b5ed41b2ff2cd5b5e.tar.gz
qmmp-5f4a1ef29564a4a4568b471b5ed41b2ff2cd5b5e.tar.bz2
qmmp-5f4a1ef29564a4a4568b471b5ed41b2ff2cd5b5e.zip
enabled flac plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@576 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac/decoder_flac.h')
-rw-r--r--src/plugins/Input/flac/decoder_flac.h26
1 files changed, 4 insertions, 22 deletions
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;