1 #ifndef BZ_AUDIO_PLAYBACK_H
2 #define BZ_AUDIO_PLAYBACK_H
4 #include <bz/memory/arena.h>
5 #include <bz/types/identifier.h>
11 typedef struct BZAudioPlaybackEngine BZAudioPlaybackEngine
;
12 typedef BZAudioPlaybackEngine
* BZAudioPlaybackEngineID
;
14 extern BZAudioPlaybackEngineID
bzAudioPlaybackInit(BZMemoryArenaID arena
, const char *identifierFmt
, ...);
15 extern void bzAudioPlaybackTeardown(BZAudioPlaybackEngineID engine
);
17 extern void bzAudioPlaybackSetParameter(BZAudioPlaybackEngineID engine
, BZIdentifierHash parameterIdentifier
, float value
);
18 extern void bzAudioPlaybackPostEvent(BZAudioPlaybackEngineID engine
, BZIdentifierHash eventIdentifier
, ...);
20 extern void bzAudioPlaybackUseSoundbank(BZAudioPlaybackEngineID engine
, BZMemoryArenaID arena
, const char *identifierFmt
, ...);