17 #include <ht_platform.h> 20 #include <ht_audiobuffer.h> 31 enum class State : ALint
37 Error = AL_INVALID_OPERATION
56 bool QueueBuffer(
const Buffer& b);
57 bool UnqueueBuffer(
Buffer& b);
60 void GetPosition(std::array<ALfloat, 3>& outValueArray)
const;
61 void GetPosition(ALfloat* outValueArray)
const;
62 void GetDirection(std::array<ALfloat, 3>& outValueArray)
const;
63 void GetDirection(ALfloat* outValueArray)
const;
65 ALfloat GetPitch()
const;
66 ALfloat GetGain()
const;
67 bool GetLooping()
const;
69 State GetState()
const;
70 int GetNumBuffersQueued()
const;
71 int GetNumBuffersProcessed()
const;
73 bool SetPosition(
const std::array<ALfloat, 3>& values);
74 bool SetPosition(
const ALfloat* values);
75 bool SetPosition(ALfloat x, ALfloat y, ALfloat z);
76 bool SetDirection(
const std::array<ALfloat, 3>& values);
77 bool SetDirection(
const ALfloat* values);
78 bool SetDirection(ALfloat x, ALfloat y, ALfloat z);
80 bool SetPitch(ALfloat newPitch);
81 bool SetGain(ALfloat newGain);
82 bool SetLooping(
bool newVal);
85 bool CopyInfo(
const Source& source);
Definition: ht_audiobuffer.h:27
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_audiobuffer.h:23
Definition: ht_audiosource.h:27