mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-08 22:20:05 +01:00
audio: Fixed assertion failure if trying to use dummy backend.
This commit is contained in:
parent
64853b7378
commit
0f4aba7bcd
@ -30,6 +30,7 @@
|
|||||||
static int
|
static int
|
||||||
DUMMYAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
|
DUMMYAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
|
||||||
{
|
{
|
||||||
|
_this->hidden = (void *) 0x1; /* just something non-NULL */
|
||||||
return 0; /* always succeeds. */
|
return 0; /* always succeeds. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user