aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/sfx/fmodexchannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/sfx/fmodexchannel.h')
-rw-r--r--engines/sword25/sfx/fmodexchannel.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/engines/sword25/sfx/fmodexchannel.h b/engines/sword25/sfx/fmodexchannel.h
index 1cab70956b..9d8b64f3b4 100644
--- a/engines/sword25/sfx/fmodexchannel.h
+++ b/engines/sword25/sfx/fmodexchannel.h
@@ -23,7 +23,7 @@
*
*/
-/*
+/*
* This code is based on Broken Sword 2.5 engine
*
* Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdoerfer
@@ -52,10 +52,9 @@ struct FMOD_SOUND;
// Klassendefinition
// -----------------------------------------------------------------------------
-class BS_FMODExChannel
-{
+class BS_FMODExChannel {
public:
- BS_FMODExChannel(FMOD_CHANNEL * ChannelPtr, FMOD_SOUND * SoundPtr);
+ BS_FMODExChannel(FMOD_CHANNEL *ChannelPtr, FMOD_SOUND *SoundPtr);
virtual ~BS_FMODExChannel();
bool SetPaused(bool Paused);
@@ -66,19 +65,19 @@ public:
bool SetPosition(unsigned int Position);
bool Stop();
- float GetVolume();
- float GetPanning();
- unsigned int GetPosition();
- unsigned int GetTime();
- unsigned int GetLoopStart();
- unsigned int GetLoopEnd();
- bool IsLooping();
- bool IsPaused();
- bool IsPlaying();
+ float GetVolume();
+ float GetPanning();
+ unsigned int GetPosition();
+ unsigned int GetTime();
+ unsigned int GetLoopStart();
+ unsigned int GetLoopEnd();
+ bool IsLooping();
+ bool IsPaused();
+ bool IsPlaying();
private:
- FMOD_CHANNEL * m_ChannelPtr;
- FMOD_SOUND * m_SoundPtr;
+ FMOD_CHANNEL *m_ChannelPtr;
+ FMOD_SOUND *m_SoundPtr;
};
#endif