Remove in-place translations support.
[dcpomatic.git] / src / lib / audio_buffers.h
index 4db0fa255bf07a19af946ab132ccd95345e874bd..b43179663093ea8eb549692bf841974f694f436a 100644 (file)
@@ -60,11 +60,13 @@ public:
        }
 
        int frames () const {
-               return _data[0].size();
+               return _data.empty() ? 0 : _data[0].size();
        }
 
        void set_frames (int f);
 
+       void set_channels(int new_channels);
+
        void make_silent ();
        void make_silent (int channel);
        void make_silent (int from, int frames);