diff options
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 02cc742aa..0edfe2076 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -159,6 +159,7 @@ class AudioBuffers public: AudioBuffers (int channels, int frames); AudioBuffers (AudioBuffers const &); + AudioBuffers (boost::shared_ptr<const AudioBuffers>); ~AudioBuffers (); float** data () const { @@ -182,7 +183,7 @@ public: void copy_from (AudioBuffers* from, int frames_to_copy, int read_offset, int write_offset); void move (int from, int to, int frames); - void accumulate (boost::shared_ptr<AudioBuffers>, int, int); + void accumulate (boost::shared_ptr<const AudioBuffers>, int, int); private: /** Number of channels */ |
