#pragma once #include #ifdef WIN32 #include #include #else #include #include #endif #include "Vector.h" #include "Sound.h" class SoundSystem { public: SoundSystem(); ~SoundSystem(); void SetListener(const Vec3f& inPos, const Vec3f& inVel, const Vec3f& inOri); unsigned int LoadSound(const char* inWavPath, bool inLooping); Sound* GetSound(unsigned int inID); private: ALCdevice* device; ALCcontext* context; std::vector sounds; };