From c5ab3a0ea0dfe35dd1927c2ca3c9f27be9db2ebd Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 17 Sep 2005 16:36:25 +0000 Subject: *** empty log message *** --- src/liblame_wrapper.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/liblame_wrapper.h') diff --git a/src/liblame_wrapper.h b/src/liblame_wrapper.h index b2851bf..cf8e688 100644 --- a/src/liblame_wrapper.h +++ b/src/liblame_wrapper.h @@ -43,8 +43,7 @@ #define CHANNELS 2 #define INPUT_SAMPLE_RATE 48000 #define OUTPUT_SAMPLE_RATE 48000 -#define SAMPLES AUDIO_BUFFER_SIZE -//OUTPUT_SAMPLE_RATE / 25 +#define SAMPLES OUTPUT_SAMPLE_RATE / 25 class LibLAMEWrapper { public: @@ -53,6 +52,8 @@ public: Frame *encode(Frame *dvframe); + Frame *close(Frame *dvframe); + private: unsigned long long calc_bitrate; int frame_number; -- cgit v1.2.3