diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-20 18:39:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-20 20:05:26 +0100 |
| commit | e9ca66f0d8897739cdef22f5011e0866f5a3f741 (patch) | |
| tree | facd02deef05a75094efec59b7d04f26786d1599 /src/lib/encoder.h | |
| parent | 068f8fe319aad390788bdea24ad21ef758d6dd03 (diff) | |
Clean up audio passing round a bit.
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 3 |
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; |
