mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-04-20 09:55:38 +00:00
snd_voip.c: fixes to build on macOS
This commit is contained in:
parent
b51f4dc153
commit
4da54032d2
1 changed files with 10 additions and 2 deletions
|
@ -87,6 +87,14 @@ dllhandle_t *Sys_LoadLibrary(const char *name, dllfunction_t *funcs)
|
|||
|
||||
return (dllhandle_t*)lib;
|
||||
}
|
||||
#else
|
||||
void Sys_CloseLibrary(dllhandle_t *lib)
|
||||
{
|
||||
}
|
||||
dllhandle_t *Sys_LoadLibrary(const char *name, dllfunction_t *funcs)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -288,13 +296,13 @@ typedef struct
|
|||
static void SDL_Capture_Start(void *ctx)
|
||||
{
|
||||
sdlcapture_t *d = ctx;
|
||||
SDL_PauseAudioDevice(d->dev, FALSE);
|
||||
SDL_PauseAudioDevice(d->dev, SDL_FALSE);
|
||||
}
|
||||
|
||||
static void SDL_Capture_Stop(void *ctx)
|
||||
{
|
||||
sdlcapture_t *d = ctx;
|
||||
SDL_PauseAudioDevice(d->dev, TRUE);
|
||||
SDL_PauseAudioDevice(d->dev, SDL_TRUE);
|
||||
}
|
||||
|
||||
static void SDL_Capture_Shutdown(void *ctx)
|
||||
|
|
Loading…
Reference in a new issue