Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 23, 2001
1 parent 06b2652 commit 47a7646
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mixer.c
Expand Up @@ -37,6 +37,7 @@
#include "load_voc.h"

/* Magic numbers for various audio file formats */
#define RIFF 0x46464952 /* "RIFF" */
#define WAVE 0x45564157 /* "WAVE" */
#define FORM 0x4d524f46 /* "FORM" */

Expand Down Expand Up @@ -418,6 +419,7 @@ Mix_Chunk *Mix_LoadWAV_RW(SDL_RWops *src, int freesrc)

switch (magic) {
case WAVE:
case RIFF:
loaded = SDL_LoadWAV_RW(src, freesrc, &wavespec,
(Uint8 **)&chunk->abuf, &chunk->alen);
break;
Expand Down

0 comments on commit 47a7646

Please sign in to comment.