src/audio/arts/SDL_artsaudio.c
changeset 6044 35448a5ea044
parent 5594 e741303e08a8
child 6046 3b33b82cdbac
equal deleted inserted replaced
6043:46d78e48ae8b 6044:35448a5ea044
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
    22 
    22 
       
    23 #if SDL_AUDIO_DRIVER_ARTS
       
    24 
    23 /* Allow access to a raw mixing buffer */
    25 /* Allow access to a raw mixing buffer */
    24 
    26 
    25 #ifdef HAVE_SIGNAL_H
    27 #ifdef HAVE_SIGNAL_H
    26 #include <signal.h>
    28 #include <signal.h>
    27 #endif
    29 #endif
    32 #include "SDL_audio.h"
    34 #include "SDL_audio.h"
    33 #include "../SDL_audiomem.h"
    35 #include "../SDL_audiomem.h"
    34 #include "../SDL_audio_c.h"
    36 #include "../SDL_audio_c.h"
    35 #include "SDL_artsaudio.h"
    37 #include "SDL_artsaudio.h"
    36 
    38 
    37 #ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    39 #if SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    38 #include "SDL_name.h"
    40 #include "SDL_name.h"
    39 #include "SDL_loadso.h"
    41 #include "SDL_loadso.h"
    40 #else
    42 #else
    41 #define SDL_NAME(X)	X
    43 #define SDL_NAME(X)	X
    42 #endif
    44 #endif
    43 
    45 
    44 #ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    46 #if SDL_AUDIO_DRIVER_ARTS_DYNAMIC
    45 
    47 
    46 static const char *arts_library = SDL_AUDIO_DRIVER_ARTS_DYNAMIC;
    48 static const char *arts_library = SDL_AUDIO_DRIVER_ARTS_DYNAMIC;
    47 static void *arts_handle = NULL;
    49 static void *arts_handle = NULL;
    48 
    50 
    49 /* !!! FIXME: I hate this SDL_NAME clutter...it makes everything so messy! */
    51 /* !!! FIXME: I hate this SDL_NAME clutter...it makes everything so messy! */
   370 
   372 
   371 AudioBootStrap ARTS_bootstrap = {
   373 AudioBootStrap ARTS_bootstrap = {
   372     "arts", "Analog RealTime Synthesizer", ARTS_Init, 0
   374     "arts", "Analog RealTime Synthesizer", ARTS_Init, 0
   373 };
   375 };
   374 
   376 
       
   377 #endif /* SDL_AUDIO_DRIVER_ARTS */
       
   378 
   375 /* vi: set ts=4 sw=4 expandtab: */
   379 /* vi: set ts=4 sw=4 expandtab: */