summaryrefslogtreecommitdiffstats
path: root/HBMp3Encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'HBMp3Encoder.h')
-rw-r--r--HBMp3Encoder.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/HBMp3Encoder.h b/HBMp3Encoder.h
new file mode 100644
index 000000000..02e385224
--- /dev/null
+++ b/HBMp3Encoder.h
@@ -0,0 +1,30 @@
+/* $Id: HBMp3Encoder.h,v 1.3 2003/08/23 19:22:59 titer Exp $ */
+
+#ifndef HB_MP3_ENCODER_H
+#define HB_MP3_ENCODER_H
+
+#include "HBThread.h"
+class HBAudioInfo;
+class HBManager;
+class HBBuffer;
+class HBFifo;
+
+class HBMp3Encoder : public HBThread
+{
+ public:
+ HBMp3Encoder( HBManager * manager, HBAudioInfo * audioInfo );
+
+ private:
+ void DoWork();
+ bool GetSamples( uint32_t count );
+
+ HBManager * fManager;
+ HBAudioInfo * fAudioInfo;
+
+ HBBuffer * fRawBuffer;
+ uint32_t fPosInBuffer; /* in samples */
+ float * fLeftSamples;
+ float * fRightSamples;
+};
+
+#endif