summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/oalsound/channel.h')
-rw-r--r--src/sound/oalsound/channel.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sound/oalsound/channel.h b/src/sound/oalsound/channel.h
index f5f3bb9..6717f03 100644
--- a/src/sound/oalsound/channel.h
+++ b/src/sound/oalsound/channel.h
@@ -48,7 +48,10 @@ class Channel
bool Play();
bool Stop();
- bool SetPosition(Math::Vector);
+
+ bool SetPan(Math::Vector);
+ void SetPosition(Math::Vector);
+ Math::Vector GetPosition();
bool SetFrequency(float);
float GetFrequency();
@@ -59,6 +62,9 @@ class Channel
bool SetVolume(float);
float GetVolume();
+ void SetVolumeAtrib(float);
+ float GetVolumeAtrib();
+
bool IsPlaying();
bool IsReady();
bool IsLoaded();
@@ -98,8 +104,10 @@ class Channel
float mStartFrequency;
float mChangeFrequency;
float mInitFrequency;
+ float mVolume;
std::deque<SoundOper> mOper;
bool mReady;
bool mLoop;
bool mMute;
+ Math::Vector mPosition;
};