diff options
Diffstat (limited to 'intern/audaspace/FX/AUD_HighpassReader.h')
-rw-r--r-- | intern/audaspace/FX/AUD_HighpassReader.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/intern/audaspace/FX/AUD_HighpassReader.h b/intern/audaspace/FX/AUD_HighpassReader.h index dc28a62e45b..845e764ac9f 100644 --- a/intern/audaspace/FX/AUD_HighpassReader.h +++ b/intern/audaspace/FX/AUD_HighpassReader.h @@ -27,7 +27,7 @@ #define AUD_HIGHPASSREADER #include "AUD_EffectReader.h" -class AUD_Buffer; +#include "AUD_Buffer.h" #define AUD_HIGHPASS_ORDER 3 @@ -40,17 +40,17 @@ private: /** * The playback buffer. */ - AUD_Buffer *m_buffer; + AUD_Buffer m_buffer; /** * The last out values buffer. */ - AUD_Buffer *m_outvalues; + AUD_Buffer m_outvalues; /** * The last in values buffer. */ - AUD_Buffer *m_invalues; + AUD_Buffer m_invalues; /** * The position for buffer cycling. @@ -62,21 +62,19 @@ private: */ float m_coeff[2][AUD_HIGHPASS_ORDER]; + // hide copy constructor and operator= + AUD_HighpassReader(const AUD_HighpassReader&); + AUD_HighpassReader& operator=(const AUD_HighpassReader&); + public: /** * Creates a new highpass reader. * \param reader The reader to read from. * \param frequency The cutoff frequency. * \param Q The Q factor. - * \exception AUD_Exception Thrown if the reader specified is NULL. */ AUD_HighpassReader(AUD_IReader* reader, float frequency, float Q); - /** - * Destroys the reader. - */ - virtual ~AUD_HighpassReader(); - virtual void read(int & length, sample_t* & buffer); }; |