11#include <aegis/component.hpp>
31 ae::ComponentTypeID
getType()
const override
52 void playSFX(
SFX sfx,
int volume = 127,
int panning = 64);
Manager for hardware specific audio functions.
void stopSFX()
Stops all SFX audio from playing.
ae::ComponentTypeID getType() const override
void registerSFX(SFX sfx)
Register the SFX to use.
void playSFX(SFX sfx, int volume=127, int panning=64)
Play the specified SFX, if registered.
void destroy() override
Automatically stops all SFX audio from playing.
void submitToManager() override
void update(ae::q20_12_t) override
static constexpr ae::ComponentTypeID TYPE_ID