summaryrefslogtreecommitdiff
path: root/src/liblame_wrapper.h
diff options
context:
space:
mode:
authordeva <deva>2005-09-17 16:36:25 +0000
committerdeva <deva>2005-09-17 16:36:25 +0000
commitc5ab3a0ea0dfe35dd1927c2ca3c9f27be9db2ebd (patch)
treef06cebe8376048e1ccf1052a91fe940ea5c4f2e9 /src/liblame_wrapper.h
parent4a5060ae3ebc42fad95f6ef7ec9c205a09116067 (diff)
*** empty log message ***R0_2_7
Diffstat (limited to 'src/liblame_wrapper.h')
-rw-r--r--src/liblame_wrapper.h5
1 files changed, 3 insertions, 2 deletions
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;