diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-26 23:41:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-26 23:41:02 +0100 |
| commit | f861018389acd9d277fe34d7621182b9b54f977f (patch) | |
| tree | 499bae7640ce99a13c31ea9c870d426084480aec /src/lib/util.h | |
| parent | f09c6b53f155de601900afa90045059b20310c0d (diff) | |
| parent | 86011ad6b4ea0004a51c59b0563cf89c0947546d (diff) | |
Merge master; fix crash on new film.
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 */ |
