audio: Fixed assertion failure if trying to use dummy backend.

This commit is contained in:
Ryan C. Gordon 2021-04-06 18:34:53 -04:00
parent 64853b7378
commit 0f4aba7bcd
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 0 deletions

View File

@ -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. */
}