diff options
Diffstat (limited to 'src/plugins/Input/aac/decoder_aac.h')
| -rw-r--r-- | src/plugins/Input/aac/decoder_aac.h | 14 |
1 files changed, 11 insertions, 3 deletions
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 <qmmp/decoder.h> + 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; |
