Skip to content

Commit

Permalink
Added Timidity support for AUDIO_U16MSB
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 21, 2017
1 parent 4ec8009 commit 22caa40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions timidity/timidity.c
Expand Up @@ -514,6 +514,9 @@ MidiSong *Timidity_LoadSong(SDL_RWops *rw, SDL_AudioSpec *audio)
case AUDIO_U16LSB:
song->write = s32tou16l;
break;
case AUDIO_U16MSB:
song->write = s32tou16b;
break;
default:
SDL_SetError("Unsupported audio format");
return NULL;
Expand Down

0 comments on commit 22caa40

Please sign in to comment.