summaryrefslogtreecommitdiff
path: root/src/liblame_wrapper.h
diff options
context:
space:
mode:
authordeva <deva>2005-07-05 23:15:16 +0000
committerdeva <deva>2005-07-05 23:15:16 +0000
commit26f488caef0e88e1995b6141e17e3595a6cf34dc (patch)
tree4d1ae92031f5b1f04900882d9888d5c474312c15 /src/liblame_wrapper.h
parent91e9b782cc9ea0252ab2b211b15e8da4a3043d5f (diff)
*** empty log message ***
Diffstat (limited to 'src/liblame_wrapper.h')
-rw-r--r--src/liblame_wrapper.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/liblame_wrapper.h b/src/liblame_wrapper.h
index 2d3a769..f30cb9c 100644
--- a/src/liblame_wrapper.h
+++ b/src/liblame_wrapper.h
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.2 2005/07/05 23:15:16 deva
+ * *** empty log message ***
+ *
* Revision 1.1 2005/07/02 11:39:51 deva
* Added some audiocode.
* Moved libfame code out of mov_encoder
@@ -52,8 +55,9 @@
#include "info.h"
#define CHANNELS 2
-#define SAMPLES 44100
-#define AUDIO_BUFFER_SIZE SAMPLES/25*sizeof(int16_t)
+#define SAMPLE_RATE 48000
+#define SAMPLES SAMPLE_RATE / 25
+#define AUDIO_BUFFER_SIZE DV_AUDIO_MAX_SAMPLES
class LibLAMEWrapper {
public:
@@ -66,11 +70,11 @@ private:
Info *info;
// LAME stuff
- lame_global_flags *lamegf;
+ lame_global_flags *gfp;
// libdv stuff
dv_decoder_t *decoder;
- int16_t *audio_buffer[2];
+ int16_t *audio_buffer[4];
};