summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/channel.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-05-26 17:47:54 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-05-27 10:19:16 +0200
commit8765d58b02c9afd00186bae4a0045dff32f7d102 (patch)
tree884cd72d4b8b2fabbd109001412e315aa908b0e8 /src/sound/oalsound/channel.h
parent538745a731d07facd7a1574c04a5d34d23ce3bfa (diff)
downloadcolobot-8765d58b02c9afd00186bae4a0045dff32f7d102.tar.gz
colobot-8765d58b02c9afd00186bae4a0045dff32f7d102.tar.bz2
colobot-8765d58b02c9afd00186bae4a0045dff32f7d102.zip
Fixed code formatting
* moved braces to new lines * fixed some function/variable names * fixed whitespace issues
Diffstat (limited to 'src/sound/oalsound/channel.h')
-rw-r--r--src/sound/oalsound/channel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sound/oalsound/channel.h b/src/sound/oalsound/channel.h
index 6717f03..c0b0436 100644
--- a/src/sound/oalsound/channel.h
+++ b/src/sound/oalsound/channel.h
@@ -48,7 +48,7 @@ class Channel
bool Play();
bool Stop();
-
+
bool SetPan(Math::Vector);
void SetPosition(Math::Vector);
Math::Vector GetPosition();
@@ -64,21 +64,21 @@ class Channel
float GetVolume();
void SetVolumeAtrib(float);
float GetVolumeAtrib();
-
+
bool IsPlaying();
bool IsReady();
bool IsLoaded();
bool SetBuffer(Buffer *);
bool FreeBuffer();
-
+
bool HasEnvelope();
SoundOper& GetEnvelope();
void PopEnvelope();
-
+
int GetPriority();
void SetPriority(int);
-
+
void SetStartAmplitude(float);
void SetStartFrequency(float);
void SetChangeFrequency(float);
@@ -87,14 +87,14 @@ class Channel
float GetStartFrequency();
float GetChangeFrequency();
float GetInitFrequency();
-
+
void AddOper(SoundOper);
void ResetOper();
Sound GetSoundType();
void SetLoop(bool);
void Mute(bool);
bool IsMuted();
-
+
private:
Buffer *mBuffer;
ALuint mSource;