Skip to content

Commit

Permalink
Fixed the code to match the header, thanks to Jon Atkins for noticing…
Browse files Browse the repository at this point in the history
… this!
  • Loading branch information
slouken committed Nov 5, 2009
1 parent abd5798 commit 8d632b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mixer.c
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion music.c
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions playwave.c
Expand Up @@ -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));
}
Expand Down

0 comments on commit 8d632b6

Please sign in to comment.