# HG changeset patch # User Sam Lantinga # Date 1015442057 0 # Node ID fb4c4c6a2773d6dbfea882acc45764a7b1a1b7a9 # Parent 8bdc210ed1de5c7f90803fae58697416cd3e2833 Fixed dynamic arts support. diff -r 8bdc210ed1de -r fb4c4c6a2773 src/audio/arts/SDL_artsaudio.c --- a/src/audio/arts/SDL_artsaudio.c Wed Mar 06 19:14:12 2002 +0000 +++ b/src/audio/arts/SDL_artsaudio.c Wed Mar 06 19:14:17 2002 +0000 @@ -66,13 +66,14 @@ static void *arts_handle = NULL; static int arts_loaded = 0; -static int (*SDL_NAME(arts_init))(); -static int (*SDL_NAME(arts_free))(); -static int (*SDL_NAME(arts_play_stream))(); -static int (*SDL_NAME(arts_stream_set))(); -static int (*SDL_NAME(arts_stream_get))(); -static int (*SDL_NAME(arts_write))(); -static int (*SDL_NAME(arts_close_stream))(); +static int (*SDL_NAME(arts_init))(void); +static void (*SDL_NAME(arts_free))(void); +static arts_stream_t (*SDL_NAME(arts_play_stream))(int rate, int bits, int channels, const char *name); +static int (*SDL_NAME(arts_stream_set))(arts_stream_t s, arts_parameter_t param, int value); +static int (*SDL_NAME(arts_stream_get))(arts_stream_t s, arts_parameter_t param); +static int (*SDL_NAME(arts_write))(arts_stream_t s, const void *buffer, int count); +static void (*SDL_NAME(arts_close_stream))(arts_stream_t s); + static struct { const char *name; void **func;