src/audio/arts/SDL_artsaudio.c
changeset 5594 e741303e08a8
parent 5535 96594ac5fd1a
child 6044 35448a5ea044
equal deleted inserted replaced
5593:ab22ca13c47f 5594:e741303e08a8
    38 #include "SDL_name.h"
    38 #include "SDL_name.h"
    39 #include "SDL_loadso.h"
    39 #include "SDL_loadso.h"
    40 #else
    40 #else
    41 #define SDL_NAME(X)	X
    41 #define SDL_NAME(X)	X
    42 #endif
    42 #endif
    43 
       
    44 /* The tag name used by artsc audio */
       
    45 #define ARTS_DRIVER_NAME         "arts"
       
    46 
    43 
    47 #ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    44 #ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    48 
    45 
    49 static const char *arts_library = SDL_AUDIO_DRIVER_ARTS_DYNAMIC;
    46 static const char *arts_library = SDL_AUDIO_DRIVER_ARTS_DYNAMIC;
    50 static void *arts_handle = NULL;
    47 static void *arts_handle = NULL;
   370     return 1;   /* this audio target is available. */
   367     return 1;   /* this audio target is available. */
   371 }
   368 }
   372 
   369 
   373 
   370 
   374 AudioBootStrap ARTS_bootstrap = {
   371 AudioBootStrap ARTS_bootstrap = {
   375     ARTS_DRIVER_NAME, "Analog RealTime Synthesizer", ARTS_Init, 0
   372     "arts", "Analog RealTime Synthesizer", ARTS_Init, 0
   376 };
   373 };
   377 
   374 
   378 /* vi: set ts=4 sw=4 expandtab: */
   375 /* vi: set ts=4 sw=4 expandtab: */