aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac/cueparser.h
Commit message (Expand)AuthorAgeFilesLines
* fixed FSF headerstrialuser022012-07-311-1/+1
* fixed FSF address (trunk)trialuser022012-07-311-1/+1
* updated yeartrialuser022012-01-191-1/+1
* cue parser: added replaygain support (Closes issue 279)trialuser022011-10-201-7/+14
* fixed cue classestrialuser022011-10-191-5/+5
* enabled flac plugintrialuser022009-09-221-0/+1
* improved seeking accuracytrialuser022009-03-071-3/+3
* removed unused codetrialuser022008-11-281-1/+0
* flac plugin: embeded cue support (using cuesheet xiph comment)trialuser022008-11-271-0/+59
the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #ifndef DECODER_AAC_H #define DECODER_AAC_H #include <neaacdec.h> #include <qmmp/decoder.h> struct aac_data { NeAACDecHandle handle; }; class DecoderAAC : public Decoder { public: DecoderAAC(QIODevice *); virtual ~DecoderAAC(); struct aac_data *data() { return m_data; } // Standard Decoder API bool initialize(); qint64 totalTime(); int bitrate(); qint64 read(char *audio, qint64 maxSize); void seek(qint64 time); private: struct aac_data *m_data; char *m_input_buf; int m_bitrate; ulong m_input_at, m_output_at; double m_frameSize; qint64 m_totalTime; }; #endif // __decoder_aac_h