aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/aac/aacfile.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-08-02 05:01:12 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-08-02 05:01:12 +0000
commit19e5b750b19241509dafead0c105144a92c4af2a (patch)
treed659ac6a5cd458a039eaea504060bf3be7318ad9 /src/plugins/Input/aac/aacfile.h
parent065a93f8f0e4a1aad744d37c7b08ce05c0883dad (diff)
downloadqmmp-19e5b750b19241509dafead0c105144a92c4af2a.tar.gz
qmmp-19e5b750b19241509dafead0c105144a92c4af2a.tar.bz2
qmmp-19e5b750b19241509dafead0c105144a92c4af2a.zip
improved aac plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6630 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/aac/aacfile.h')
-rw-r--r--src/plugins/Input/aac/aacfile.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/Input/aac/aacfile.h b/src/plugins/Input/aac/aacfile.h
index c4473c550..1d0a47caa 100644
--- a/src/plugins/Input/aac/aacfile.h
+++ b/src/plugins/Input/aac/aacfile.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2012 by Ilya Kotov *
+ * Copyright (C) 2008-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -42,7 +42,7 @@ class QBuffer;
class AACFile
{
public:
- AACFile(QIODevice *i, bool metaData = true, bool adts = true);
+ AACFile(QIODevice *input, bool metaData = true, bool adts = true);
~AACFile();
@@ -55,7 +55,7 @@ public:
private:
void parseADTS();
- void parseID3v2();
+ void parseID3v2(const QByteArray &data);
qint64 m_length;
quint32 m_bitrate;
int m_offset;
@@ -68,14 +68,13 @@ private:
class ID3v2Tag : public TagLib::ID3v2::Tag
{
public:
- ID3v2Tag(QByteArray *array, long offset);
+ ID3v2Tag(const QByteArray &array);
protected:
void read ();
private:
- QBuffer *m_buf;
- long m_offset;
+ QByteArray m_buf;
};
#endif