From 8d632b699977230f5f0c675a5b578958ac761398 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 5 Nov 2009 00:02:50 +0000 Subject: [PATCH] Fixed the code to match the header, thanks to Jon Atkins for noticing this! --- mixer.c | 2 +- music.c | 2 +- playwave.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mixer.c b/mixer.c index c988ea67..8f84de81 100644 --- a/mixer.c +++ b/mixer.c @@ -103,7 +103,7 @@ static void *music_data = NULL; static const char **chunk_decoders = NULL; static int num_decoders = 0; -int Mix_NumChunkDecoders(void) +int Mix_GetNumChunkDecoders(void) { return(num_decoders); } diff --git a/music.c b/music.c index 9091dae2..dbd5737e 100644 --- a/music.c +++ b/music.c @@ -139,7 +139,7 @@ static int ms_per_step; static const char **music_decoders = NULL; static int num_decoders = 0; -int Mix_NumMusicDecoders(void) +int Mix_GetNumMusicDecoders(void) { return(num_decoders); } diff --git a/playwave.c b/playwave.c index 6b258127..c9b440e5 100644 --- a/playwave.c +++ b/playwave.c @@ -89,12 +89,12 @@ static void report_decoders(void) int i, total; printf("Supported decoders...\n"); - total = Mix_NumChunkDecoders(); + total = Mix_GetNumChunkDecoders(); for (i = 0; i < total; i++) { fprintf(stderr, " - chunk decoder: %s\n", Mix_GetChunkDecoder(i)); } - total = Mix_NumMusicDecoders(); + total = Mix_GetNumMusicDecoders(); for (i = 0; i < total; i++) { fprintf(stderr, " - music decoder: %s\n", Mix_GetMusicDecoder(i)); }