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_SumReader.h')
-rw-r--r--intern/audaspace/FX/AUD_SumReader.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/intern/audaspace/FX/AUD_SumReader.h b/intern/audaspace/FX/AUD_SumReader.h
index 76ccf2f863a..0bb470bac97 100644
--- a/intern/audaspace/FX/AUD_SumReader.h
+++ b/intern/audaspace/FX/AUD_SumReader.h
@@ -27,7 +27,7 @@
#define AUD_SUMREADER
#include "AUD_EffectReader.h"
-class AUD_Buffer;
+#include "AUD_Buffer.h"
/**
* This class represents an summer.
@@ -38,26 +38,24 @@ private:
/**
* The playback buffer.
*/
- AUD_Buffer *m_buffer;
+ AUD_Buffer m_buffer;
/**
* The sums of the specific channels.
*/
- AUD_Buffer *m_sums;
+ AUD_Buffer m_sums;
+
+ // hide copy constructor and operator=
+ AUD_SumReader(const AUD_SumReader&);
+ AUD_SumReader& operator=(const AUD_SumReader&);
public:
/**
* Creates a new sum reader.
* \param reader The reader to read from.
- * \exception AUD_Exception Thrown if the reader specified is NULL.
*/
AUD_SumReader(AUD_IReader* reader);
- /**
- * Destroys the reader.
- */
- virtual ~AUD_SumReader();
-
virtual void read(int & length, sample_t* & buffer);
};