mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(OSS) Buildfix
This commit is contained in:
parent
e50d5af2db
commit
8811c555fe
@ -129,21 +129,23 @@ static bool oss_stop(void *data)
|
||||
if (ioctl(ossaudio->fd, SNDCTL_DSP_RESET, 0) < 0)
|
||||
return false;
|
||||
|
||||
oss_is_paused = true;
|
||||
ossaudio->is_paused = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool oss_start(void *data, bool is_shutdown)
|
||||
{
|
||||
(void)data;
|
||||
oss_is_paused = false;
|
||||
oss_audio_t *ossaudio = (oss_audio_t*)data;
|
||||
if (!ossaudio)
|
||||
return false;
|
||||
ossaudio->is_paused = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool oss_alive(void *data)
|
||||
{
|
||||
(void)data;
|
||||
return !oss_is_paused;
|
||||
oss_audio_t *ossaudio = (oss_audio_t*)data;
|
||||
return !ossaudio->is_paused;
|
||||
}
|
||||
|
||||
static void oss_set_nonblock_state(void *data, bool state)
|
||||
|
Loading…
x
Reference in New Issue
Block a user