mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
audio: Fixed assertion failure if trying to use dummy backend.
This commit is contained in:
@@ -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. */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user