# HG changeset patch # User henry # Date 1036234767 0 # Node ID de379e6d6ca901bcc6d21f0f8d3a645fb4153764 # Parent 533e212cd28202bb884d505c60e1c279b1d2d40f warning fixes diff -r 533e212cd282 -r de379e6d6ca9 libao2/ao_alsa1x.c --- a/libao2/ao_alsa1x.c Sat Nov 02 05:42:11 2002 +0000 +++ b/libao2/ao_alsa1x.c Sat Nov 02 10:59:27 2002 +0000 @@ -48,7 +48,7 @@ static snd_pcm_format_t alsa_format; static snd_pcm_hw_params_t *alsa_hwparams; static snd_pcm_sw_params_t *alsa_swparams; -const char *alsa_device; +static char *alsa_device; /* possible 4096, original 8192 * was only needed for calculating chunksize? */ @@ -827,6 +827,9 @@ return(1); /* ok, data should be accepted again */ } +static int play_normal(void* data, int len); +static int play_mmap(void* data, int len); + static int play(void* data, int len, int flags) { int result; diff -r 533e212cd282 -r de379e6d6ca9 libao2/ao_alsa9.c --- a/libao2/ao_alsa9.c Sat Nov 02 05:42:11 2002 +0000 +++ b/libao2/ao_alsa9.c Sat Nov 02 10:59:27 2002 +0000 @@ -48,7 +48,7 @@ static snd_pcm_format_t alsa_format; static snd_pcm_hw_params_t *alsa_hwparams; static snd_pcm_sw_params_t *alsa_swparams; -const char *alsa_device; +static char *alsa_device; /* possible 4096, original 8192 * was only needed for calculating chunksize? */ @@ -827,6 +827,9 @@ return(1); /* ok, data should be accepted again */ } +static int play_normal(void* data, int len); +static int play_mmap(void* data, int len); + static int play(void* data, int len, int flags) { int result;