Mercurial > sdl-ios-xcode
changeset 301:fb4c4c6a2773
Fixed dynamic arts support.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 06 Mar 2002 19:14:17 +0000 |
parents | 8bdc210ed1de |
children | 8a86bdf34f0f |
files | src/audio/arts/SDL_artsaudio.c |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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;