src/audio/dummy/SDL_dummyaudio.c
branchSDL-ryan-multiple-audio-device
changeset 3816 9d070c1a45fa
parent 3811 d980c4dcad0f
child 3846 66fb40445587
     1.1 --- a/src/audio/dummy/SDL_dummyaudio.c	Fri Oct 06 04:16:11 2006 +0000
     1.2 +++ b/src/audio/dummy/SDL_dummyaudio.c	Fri Oct 06 04:46:58 2006 +0000
     1.3 @@ -35,10 +35,6 @@
     1.4  /* The tag name used by DUMMY audio */
     1.5  #define DUMMYAUD_DRIVER_NAME         "dummy"
     1.6  
     1.7 -/* Audio driver functions */
     1.8 -static int DUMMYAUD_OpenDevice(_THIS, const char *devname, int iscapture);
     1.9 -
    1.10 -/* Audio driver bootstrap functions */
    1.11  static int
    1.12  DUMMYAUD_Available(void)
    1.13  {
    1.14 @@ -46,6 +42,13 @@
    1.15  }
    1.16  
    1.17  static int
    1.18 +DUMMYAUD_OpenDevice(_THIS, const char *devname, int iscapture)
    1.19 +{
    1.20 +    return 1;   /* always succeeds. */
    1.21 +}
    1.22 +
    1.23 +
    1.24 +static int
    1.25  DUMMYAUD_Init(SDL_AudioDriverImpl *impl)
    1.26  {
    1.27      /* Set the function pointers */
    1.28 @@ -60,10 +63,4 @@
    1.29      DUMMYAUD_Available, DUMMYAUD_Init, 1
    1.30  };
    1.31  
    1.32 -static int
    1.33 -DUMMYAUD_OpenDevice(_THIS, const char *devname, int iscapture)
    1.34 -{
    1.35 -    return 1;   /* always succeeds. */
    1.36 -}
    1.37 -
    1.38  /* vi: set ts=4 sw=4 expandtab: */