diff --git a/include/sndcore2/core.h b/include/sndcore2/core.h index c4f1c73..19a4dbd 100644 --- a/include/sndcore2/core.h +++ b/include/sndcore2/core.h @@ -77,6 +77,9 @@ AXSetDefaultMixerSelect(uint32_t unk0); AXResult AXRegisterAppFrameCallback(AXFrameCallback callback); +AXFrameCallback +AXRegisterFrameCallback(AXFrameCallback callback); + uint32_t AXGetInputSamplesPerFrame(); diff --git a/include/sndcore2/voice.h b/include/sndcore2/voice.h index 667b712..f4fd243 100644 --- a/include/sndcore2/voice.h +++ b/include/sndcore2/voice.h @@ -253,6 +253,12 @@ WUT_CHECK_SIZE(AXVoiceSrc, 0xe); #pragma pack(pop) +int32_t +AXVoiceBegin(AXVoice *v); + +int32_t +AXVoiceEnd(AXVoice *v); + AXVoice * AXAcquireVoice(uint32_t priority, AXVoiceCallbackFn callback,