1 #ifndef BZ_AUDIO_SPEECH_H
2 #define BZ_AUDIO_SPEECH_H
4 #include <bz/memory/arena.h>
10 struct BZAudioVoiceDetails
{
15 typedef struct BZAudioVoiceDetails BZAudioVoiceDetails
;
17 typedef struct BZAudioVoice BZAudioVoice
;
19 extern BZAudioVoice
*bzAudioLoadSpeechVoice(BZAudioVoiceDetails
*detailsOut
, BZMemoryArenaID arena
, const char *identifierFmt
, ...);
20 extern size_t bzAudioGenerateSpeech(BZAudioVoice
*voice
, short *dst
, size_t dstSize
, const char *speechFmt
, ...);