ref: db5ef81d558feebfdbf009e3acf087f649403c6d
dir: /libnpe_sdl2/mixer.c/
#include "_sdl.h" #include <SDL2/SDL_mixer.h> int Mix_OpenAudio(int freq, Uint16 format, int channels, int chunk) { USED(freq); USED(format); USED(channels); USED(chunk); return 0; //lies } char* Mix_GetError(void) { return ""; } int Mix_RegisterEffect(int chan, Mix_EffectFunc_t f, Mix_EffectDone_t d, void *arg) { USED(chan); USED(f); USED(d); USED(arg); return 1; } Mix_Chunk* Mix_QuickLoad_RAW(Uint8 *mem, Uint32 len) { USED(mem); USED(len); return nil; } int Mix_PlayChannel(int chan, Mix_Chunk *chunk, int loops) { USED(chan); USED(chunk); USED(loops); return -1; } int Mix_HaltChannel(int channel) { USED(channel); return 0; } void Mix_FreeChunk(Mix_Chunk *c) { USED(c); } void Mix_CloseAudio(void) { } int Mix_Init(int flags) { USED(flags); return 0; } int Mix_VolumeMusic(int vol) { USED(vol); return 0; } int Mix_PlayingMusic(void) { return 0; } int Mix_PausedMusic(void) { return 0; } void Mix_ResumeMusic(void) { } void Mix_PauseMusic(void) { } int Mix_HaltMusic(void) { return 0; } int Mix_PlayMusic(Mix_Music *music, int loops) { USED(music); USED(loops); return 0; } Mix_Music* Mix_LoadMUS_RW(SDL_RWops *src, int freesrc) { USED(src); USED(freesrc); return nil; }