Fixed the code to match the header, thanks to Jon Atkins for noticing this!
authorSam Lantinga <slouken@libsdl.org>
Thu, 05 Nov 2009 00:02:50 +0000
changeset 466d3d060cb94a6
parent 465 9e6cc9037caf
child 467 4b52401dda92
Fixed the code to match the header, thanks to Jon Atkins for noticing this!
mixer.c
music.c
playwave.c
     1.1 --- a/mixer.c	Mon Nov 02 08:21:46 2009 +0000
     1.2 +++ b/mixer.c	Thu Nov 05 00:02:50 2009 +0000
     1.3 @@ -103,7 +103,7 @@
     1.4  static const char **chunk_decoders = NULL;
     1.5  static int num_decoders = 0;
     1.6  
     1.7 -int Mix_NumChunkDecoders(void)
     1.8 +int Mix_GetNumChunkDecoders(void)
     1.9  {
    1.10  	return(num_decoders);
    1.11  }
     2.1 --- a/music.c	Mon Nov 02 08:21:46 2009 +0000
     2.2 +++ b/music.c	Thu Nov 05 00:02:50 2009 +0000
     2.3 @@ -139,7 +139,7 @@
     2.4  static const char **music_decoders = NULL;
     2.5  static int num_decoders = 0;
     2.6  
     2.7 -int Mix_NumMusicDecoders(void)
     2.8 +int Mix_GetNumMusicDecoders(void)
     2.9  {
    2.10  	return(num_decoders);
    2.11  }
     3.1 --- a/playwave.c	Mon Nov 02 08:21:46 2009 +0000
     3.2 +++ b/playwave.c	Thu Nov 05 00:02:50 2009 +0000
     3.3 @@ -89,12 +89,12 @@
     3.4  	int i, total;
     3.5  
     3.6      printf("Supported decoders...\n");
     3.7 -	total = Mix_NumChunkDecoders();
     3.8 +	total = Mix_GetNumChunkDecoders();
     3.9  	for (i = 0; i < total; i++) {
    3.10  		fprintf(stderr, " - chunk decoder: %s\n", Mix_GetChunkDecoder(i));
    3.11  	}
    3.12  
    3.13 -	total = Mix_NumMusicDecoders();
    3.14 +	total = Mix_GetNumMusicDecoders();
    3.15  	for (i = 0; i < total; i++) {
    3.16  		fprintf(stderr, " - music decoder: %s\n", Mix_GetMusicDecoder(i));
    3.17  	}