diff options
Diffstat (limited to 'src/sound/oalsound/channel.h')
-rw-r--r-- | src/sound/oalsound/channel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sound/oalsound/channel.h b/src/sound/oalsound/channel.h index 5caf2b0..70307ef 100644 --- a/src/sound/oalsound/channel.h +++ b/src/sound/oalsound/channel.h @@ -35,6 +35,7 @@ struct SoundOper float finalAmplitude; float finalFrequency; float totalTime; + float currentTime; SoundNext nextOper; }; @@ -51,6 +52,7 @@ class Channel bool SetFrequency(float); float GetFrequency(); + bool AdjustFrequency(float); float GetCurrentTime(); void SetCurrentTime(float); @@ -73,7 +75,6 @@ class Channel void SetStartAmplitude(float); void SetStartFrequency(float); void SetChangeFrequency(float); - void SetInitFrequency(float); float GetStartAmplitude(); float GetStartFrequency(); @@ -83,8 +84,7 @@ class Channel void AddOper(SoundOper); void ResetOper(); Sound GetSoundType(); - void AdjustFrequency(float); - void AdjustVolume(float); + void SetLoop(bool); private: Buffer *mBuffer; @@ -97,4 +97,5 @@ class Channel float mInitFrequency; std::deque<SoundOper> mOper; bool mReady; + bool mLoop; }; |