20 #ifndef SOUND_EMBEDSOUND_H
21 #define SOUND_EMBEDSOUND_H
26 #include <boost/thread/mutex.hpp>
27 #include <boost/scoped_ptr.hpp>
78 const boost::uint8_t*
data()
const {
87 const boost::uint8_t*
data(
size_t pos)
const {
88 assert(pos < _buf->
size());
89 return _buf->data()+pos;
140 unsigned int inPoint,
unsigned int outPoint,
179 boost::scoped_ptr<SimpleBuffer> _buf;
189 mutable boost::mutex _soundInstancesMutex;
195 #endif // SOUND_EMBEDSOUND_H