15#define HEPHAUDIO_INFINITE_LOOP (0)
21#define HEPHAUDIO_RENDER_HANDLER_DEFAULT &HephAudio::AudioObject::DefaultRenderHandler
27#define HEPHAUDIO_RENDER_HANDLER_MATCH_FORMAT &HephAudio::AudioObject::MatchFormatRenderHandler
#define HEPH_API
Definition HephShared.h:132
class for storing the audio samples in internal format.
Definition AudioBuffer.h:16
class for managing callback functions.
Definition Event.h:25
stores information that's necessary to play audio.
Definition AudioObject.h:36
bool isPaused
Definition AudioObject.h:60
double GetPosition() const
AudioBuffer buffer
Definition AudioObject.h:80
AudioObject(AudioObject &&rhs) noexcept
static void MatchFormatRenderHandler(const Heph::EventParams &eventParams)
Heph::Guid id
Definition AudioObject.h:41
Heph::Event OnRender
Definition AudioObject.h:92
std::string name
Definition AudioObject.h:53
static void DefaultRenderHandler(const Heph::EventParams &eventParams)
std::filesystem::path filePath
Definition AudioObject.h:47
Heph::Event OnFinishedPlaying
Definition AudioObject.h:98
size_t frameIndex
Definition AudioObject.h:86
uint32_t playCount
Definition AudioObject.h:67
double volume
Definition AudioObject.h:74
void SetPosition(double position)
stores the information required to handle an event.
Definition EventParams.h:16
struct for storing globally unique identifiers.
Definition Guid.h:14