comparison src/audio/dummy/SDL_dummyaudio.c @ 2060:866052b01ee5

indent is evil
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Oct 2006 16:48:03 +0000
parents 5f6550e5184f
children 99210400e8b9
comparison
equal deleted inserted replaced
2059:4685ccd33d0e 2060:866052b01ee5
30 #include "SDL_dummyaudio.h" 30 #include "SDL_dummyaudio.h"
31 31
32 static int 32 static int
33 DUMMYAUD_OpenDevice(_THIS, const char *devname, int iscapture) 33 DUMMYAUD_OpenDevice(_THIS, const char *devname, int iscapture)
34 { 34 {
35 return 1; /* always succeeds. */ 35 return 1; /* always succeeds. */
36 } 36 }
37 37
38 static int 38 static int
39 DUMMYAUD_Init(SDL_AudioDriverImpl *impl) 39 DUMMYAUD_Init(SDL_AudioDriverImpl * impl)
40 { 40 {
41 /* Set the function pointers */ 41 /* Set the function pointers */
42 impl->OpenDevice = DUMMYAUD_OpenDevice; 42 impl->OpenDevice = DUMMYAUD_OpenDevice;
43 impl->OnlyHasDefaultOutputDevice = 1; 43 impl->OnlyHasDefaultOutputDevice = 1;
44 return 1; 44 return 1;