From 02ef6f2f2131d2e75846d937064f4e14ac3b27fd Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 6 Feb 2009 14:31:43 +0000 Subject: aac plugin: debian support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@778 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/aac/decoder_aac.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/plugins/Input/aac/decoder_aac.h') diff --git a/src/plugins/Input/aac/decoder_aac.h b/src/plugins/Input/aac/decoder_aac.h index 4b8d56982..64b1ec940 100644 --- a/src/plugins/Input/aac/decoder_aac.h +++ b/src/plugins/Input/aac/decoder_aac.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2008 by Ilya Kotov * + * Copyright (C) 2006-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -26,6 +26,7 @@ #include + struct aac_data { NeAACDecHandle handle; @@ -65,10 +66,17 @@ private: void *m_prebuf2; unsigned long m_output_bytes; +#ifdef FAAD_MODIFIED + uint32_t m_freq; + uint8_t m_chan; +#else + unsigned long m_freq; + unsigned char m_chan; +#endif + unsigned int m_bks; bool m_done, m_finish; - unsigned long m_len, m_freq, m_bitrate, m_input_at, m_output_at; - unsigned char m_chan; + unsigned long m_len, m_bitrate, m_input_at, m_output_at; unsigned long m_output_size; double m_frameSize; //frame size in bytes qint64 m_totalTime, m_seekTime; -- cgit v1.2.3-13-gbd6f