Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/audaspace/FX/AUD_RectifyReader.h')
-rw-r--r--intern/audaspace/FX/AUD_RectifyReader.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/intern/audaspace/FX/AUD_RectifyReader.h b/intern/audaspace/FX/AUD_RectifyReader.h
index afbe2e59cab..498f18e5041 100644
--- a/intern/audaspace/FX/AUD_RectifyReader.h
+++ b/intern/audaspace/FX/AUD_RectifyReader.h
@@ -27,7 +27,7 @@
#define AUD_RECTIFYREADER
#include "AUD_EffectReader.h"
-class AUD_Buffer;
+#include "AUD_Buffer.h"
/**
* This class reads another reader and rectifies it.
@@ -38,21 +38,19 @@ private:
/**
* The playback buffer.
*/
- AUD_Buffer *m_buffer;
+ AUD_Buffer m_buffer;
+
+ // hide copy constructor and operator=
+ AUD_RectifyReader(const AUD_RectifyReader&);
+ AUD_RectifyReader& operator=(const AUD_RectifyReader&);
public:
/**
* Creates a new rectify reader.
* \param reader The reader to read from.
- * \exception AUD_Exception Thrown if the reader specified is NULL.
*/
AUD_RectifyReader(AUD_IReader* reader);
- /**
- * Destroys the reader.
- */
- virtual ~AUD_RectifyReader();
-
virtual void read(int & length, sample_t* & buffer);
};