diff options
Diffstat (limited to 'src/sound/oalsound/alsound.h')
-rw-r--r-- | src/sound/oalsound/alsound.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sound/oalsound/alsound.h b/src/sound/oalsound/alsound.h index bdf06b1..725aa2a 100644 --- a/src/sound/oalsound/alsound.h +++ b/src/sound/oalsound/alsound.h @@ -81,6 +81,7 @@ class ALSound : public CSoundInterface void CleanUp(); int GetPriority(Sound); bool SearchFreeBuffer(Sound sound, int &channel, bool &bAlreadyLoaded); + void ComputeVolumePan2D(int channel, Math::Vector &pos); bool mEnabled; bool m3D; @@ -93,4 +94,6 @@ class ALSound : public CSoundInterface std::map<int, Channel*> mChannels; std::deque<Buffer*> mMusicCache; Channel *mCurrentMusic; + Math::Vector mEye; + Math::Vector mLookat; }; |