src/audio/SDL_mixer.c
changeset 2049 5f6550e5184f
parent 2014 7abe37467fa5
child 2130 3ee59c43d784
     1.1 --- a/src/audio/SDL_mixer.c	Sun Oct 01 16:10:41 2006 +0000
     1.2 +++ b/src/audio/SDL_mixer.c	Tue Oct 17 09:15:21 2006 +0000
     1.3 @@ -89,21 +89,6 @@
     1.4  #define ADJUST_VOLUME(s, v)	(s = (s*v)/SDL_MIX_MAXVOLUME)
     1.5  #define ADJUST_VOLUME_U8(s, v)	(s = (((s-128)*v)/SDL_MIX_MAXVOLUME)+128)
     1.6  
     1.7 -void
     1.8 -SDL_MixAudio(Uint8 * dst, const Uint8 * src, Uint32 len, int volume)
     1.9 -{
    1.10 -    /* Mix the user-level audio format */
    1.11 -    if (current_audio) {
    1.12 -        SDL_AudioFormat format;
    1.13 -        if (current_audio->convert.needed) {
    1.14 -            format = current_audio->convert.src_format;
    1.15 -        } else {
    1.16 -            format = current_audio->spec.format;
    1.17 -        }
    1.18 -        SDL_MixAudioFormat(dst, src, format, len, volume);
    1.19 -    }
    1.20 -}
    1.21 -
    1.22  
    1.23  void
    1.24  SDL_MixAudioFormat(Uint8 * dst, const Uint8 * src, SDL_AudioFormat format,