summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-20 18:39:15 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-20 20:05:26 +0100
commite9ca66f0d8897739cdef22f5011e0866f5a3f741 (patch)
treefacd02deef05a75094efec59b7d04f26786d1599 /src/lib/encoder.h
parent068f8fe319aad390788bdea24ad21ef758d6dd03 (diff)
Clean up audio passing round a bit.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 5dc0804c6..3317d30d1 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -37,6 +37,7 @@ class Options;
class Image;
class Log;
class Subtitle;
+class AudioBuffers;
/** @class Encoder
* @brief Parent class for classes which can encode video and audio frames.
@@ -67,7 +68,7 @@ public:
* @param d Array of pointers to floating point sample data for each channel.
* @param s Number of frames (ie number of samples in each channel)
*/
- virtual void process_audio (float** d, int s) = 0;
+ virtual void process_audio (boost::shared_ptr<const AudioBuffers>) = 0;
/** Called when a processing run has finished */
virtual void process_end () = 0;