Added Timidity support for AUDIO_U16MSB
authorSam Lantinga <slouken@libsdl.org>
Sat, 21 Oct 2017 02:57:45 -0700
changeset 810939986574bd8
parent 809 0c7487b56707
child 811 d817ca30412d
Added Timidity support for AUDIO_U16MSB
timidity/timidity.c
     1.1 --- a/timidity/timidity.c	Sat Oct 21 12:33:45 2017 +0300
     1.2 +++ b/timidity/timidity.c	Sat Oct 21 02:57:45 2017 -0700
     1.3 @@ -514,6 +514,9 @@
     1.4    case AUDIO_U16LSB:
     1.5  	  song->write = s32tou16l;
     1.6  	  break;
     1.7 +  case AUDIO_U16MSB:
     1.8 +	  song->write = s32tou16b;
     1.9 +	  break;
    1.10    default:
    1.11  	  SDL_SetError("Unsupported audio format");
    1.12        return NULL;