aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac/decoder_flac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/flac/decoder_flac.h')
-rw-r--r--src/plugins/Input/flac/decoder_flac.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/Input/flac/decoder_flac.h b/src/plugins/Input/flac/decoder_flac.h
index 8431a4555..cef0cd561 100644
--- a/src/plugins/Input/flac/decoder_flac.h
+++ b/src/plugins/Input/flac/decoder_flac.h
@@ -53,12 +53,13 @@ struct flac_data
int ok; /* was this stream successfully opened? */
//struct decoder_error error;
+ QIODevice *input;
};
class DecoderFLAC : public Decoder
{
public:
- DecoderFLAC(QObject *, DecoderFactory *, QIODevice *, Output *);
+ DecoderFLAC(QObject *, DecoderFactory *, QIODevice *, Output *, const QString &path);
virtual ~DecoderFLAC();
// Standard Decoder API
@@ -98,6 +99,10 @@ private:
int chan;
unsigned long output_size;
double totalTime, seekTime;
+ QString m_path;
+ qint64 m_offset;
+ qint64 m_length;
+ bool m_cue;
};