summaryrefslogtreecommitdiff
path: root/src/liblame_wrapper.h
diff options
context:
space:
mode:
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];
};