aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv/oggtheora/vorbisstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/fmv/oggtheora/vorbisstate.h')
-rw-r--r--engines/sword25/fmv/oggtheora/vorbisstate.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/engines/sword25/fmv/oggtheora/vorbisstate.h b/engines/sword25/fmv/oggtheora/vorbisstate.h
index 126e59d0aa..4a87f13d9e 100644
--- a/engines/sword25/fmv/oggtheora/vorbisstate.h
+++ b/engines/sword25/fmv/oggtheora/vorbisstate.h
@@ -42,25 +42,26 @@
#include "sword25/kernel/common.h"
#include <vorbis/codec.h>
+namespace Sword25 {
+
// -----------------------------------------------------------------------------
-// Klassendefinition
+// Class definitions
// -----------------------------------------------------------------------------
-class BS_VorbisState
-{
+class VorbisState {
public:
- BS_VorbisState();
- virtual ~BS_VorbisState();
+ VorbisState();
+ virtual ~VorbisState();
- int SynthesisHeaderIn(ogg_packet * OggPacketPtr);
+ int SynthesisHeaderIn(ogg_packet *OggPacketPtr);
int SynthesisInit();
int BlockInit();
- int SynthesisPCMout(float *** PCM);
+ int SynthesisPCMout(float ***PCM);
int SynthesisRead(int Samples);
- int Synthesis(ogg_packet * OggPacketPtr);
+ int Synthesis(ogg_packet *OggPacketPtr);
int SynthesisBlockIn();
- const vorbis_info & GetInfo() const { return m_Info; }
+ const vorbis_info &GetInfo() const { return m_Info; }
private:
vorbis_info m_Info;
@@ -71,4 +72,6 @@ private:
vorbis_comment m_Comment;
};
+} // End of namespace Sword25
+
#endif