Skip to content

Commit 1f58ccf

Browse files
committed
switch: fixup for 2.0.22
1 parent eee624e commit 1f58ccf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/audio/switch/SDL_switchaudio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "SDL_switchaudio.h"
3535

3636
static int
37-
SWITCHAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
37+
SWITCHAUDIO_OpenDevice(_THIS, const char *devname)
3838
{
3939
Result res;
4040
PcmFormat fmt;
@@ -168,7 +168,7 @@ SWITCHAUDIO_ThreadInit(_THIS)
168168
(void)this;
169169
}
170170

171-
static int
171+
static SDL_bool
172172
SWITCHAUDIO_Init(SDL_AudioDriverImpl *impl)
173173
{
174174
impl->OpenDevice = SWITCHAUDIO_OpenDevice;

0 commit comments

Comments
 (0)