shithub: cstory

ref: aac1c9c844bb05bf39b8659b2e9a8641e387ce97
dir: /src/Backends/Audio/SoftwareMixer/Backend.h/

View raw version
#pragma once

#include <stddef.h>

unsigned long SoftwareMixerBackend_Init(void (*callback)(long *stream, size_t frames_total));
void SoftwareMixerBackend_Deinit(void);

bool SoftwareMixerBackend_Start(void);

void SoftwareMixerBackend_LockMixerMutex(void);
void SoftwareMixerBackend_UnlockMixerMutex(void);

void SoftwareMixerBackend_LockOrganyaMutex(void);
void SoftwareMixerBackend_UnlockOrganyaMutex(void);