From 5a8d5f77af84d3f790d749dfd2d76a3b487eb06a Mon Sep 17 00:00:00 2001 From: Joerg Mueller Date: Mon, 5 Nov 2012 14:24:35 +0000 Subject: Audaspace: Replacing AUD_Reference with boost::shared_ptr. --- intern/audaspace/sndfile/AUD_SndFileReader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'intern/audaspace/sndfile/AUD_SndFileReader.h') diff --git a/intern/audaspace/sndfile/AUD_SndFileReader.h b/intern/audaspace/sndfile/AUD_SndFileReader.h index 81d8b45120c..5cac5051ee2 100644 --- a/intern/audaspace/sndfile/AUD_SndFileReader.h +++ b/intern/audaspace/sndfile/AUD_SndFileReader.h @@ -31,11 +31,11 @@ #define __AUD_SNDFILEREADER_H__ #include "AUD_IReader.h" -#include "AUD_Reference.h" #include "AUD_Buffer.h" #include #include +#include typedef sf_count_t (*sf_read_f)(SNDFILE *sndfile, void *ptr, sf_count_t frames); @@ -78,7 +78,7 @@ private: /** * The pointer to the memory file. */ - AUD_Reference m_membuffer; + boost::shared_ptr m_membuffer; /** * The current reading pointer of the memory file. @@ -110,7 +110,7 @@ public: * \exception AUD_Exception Thrown if the buffer specified cannot be read * with libsndfile. */ - AUD_SndFileReader(AUD_Reference buffer); + AUD_SndFileReader(boost::shared_ptr buffer); /** * Destroys the reader and closes the file. -- cgit v1.2.3