mirror of https://github.com/encounter/SDL.git
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
|
||||
DUMMYAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
|
||||
{
|
||||
_this->hidden = (void *) 0x1; /* just something non-NULL */
|
||||
return 0; /* always succeeds. */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue