Fixed dynamic arts support.
authorSam Lantinga <slouken@libsdl.org>
Wed, 06 Mar 2002 19:14:17 +0000
changeset 301 fb4c4c6a2773
parent 300 8bdc210ed1de
child 302 8a86bdf34f0f
Fixed dynamic arts support.
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;