Store in GIT
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "Vector.h"
|
||||
|
||||
class Sound
|
||||
{
|
||||
public:
|
||||
Sound(const char* inWavPath, bool inLooping);
|
||||
~Sound();
|
||||
|
||||
void SetPos(const Vec3f& inPos, const Vec3f& inVel);
|
||||
|
||||
void Play();
|
||||
void Pause();
|
||||
void Stop();
|
||||
bool IsPlaying();
|
||||
bool IsStopped();
|
||||
|
||||
private:
|
||||
unsigned int buffer_id;
|
||||
unsigned int source_id;
|
||||
|
||||
bool is_looping;
|
||||
};
|
||||
Reference in New Issue
Block a user