diff options
Diffstat (limited to 'src/sound/oalsound/channel.h')
-rw-r--r-- | src/sound/oalsound/channel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sound/oalsound/channel.h b/src/sound/oalsound/channel.h index 2930f26..1d988c9 100644 --- a/src/sound/oalsound/channel.h +++ b/src/sound/oalsound/channel.h @@ -50,11 +50,10 @@ public: ~Channel(); bool Play(); + bool Pause(); bool Stop(); - bool SetPan(Math::Vector); - void SetPosition(Math::Vector); - Math::Vector GetPosition(); + bool SetPosition(const Math::Vector &); bool SetFrequency(float); float GetFrequency(); @@ -98,11 +97,15 @@ public: void Mute(bool); bool IsMuted(); + void Reset(); + int GetId(); + private: Buffer *m_buffer; ALuint m_source; int m_priority; + int m_id; float m_startAmplitude; float m_startFrequency; float m_changeFrequency; |