From 19e5b750b19241509dafead0c105144a92c4af2a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 2 Aug 2016 05:01:12 +0000 Subject: improved aac plugin git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6630 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/aac/aacfile.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/plugins/Input/aac/aacfile.h') 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 -- cgit v1.2.3-13-gbd6f