Some patches to make SDL compile with armcc (ARM's C compiler).
This commit is contained in:
parent
86906a708a
commit
04142af157
5 changed files with 15 additions and 6 deletions
|
@ -439,7 +439,10 @@ SDL_ResampleCVT_si16_c2(SDL_AudioCVT *cvt, SDL_AudioFormat format)
|
|||
const int srclen = cvt->len_cvt;
|
||||
Sint16 *dst = (Sint16 *) cvt->buf;
|
||||
const int dstlen = (cvt->len * cvt->len_mult);
|
||||
Sint16 state[2] = { src[0], src[1] };
|
||||
Sint16 state[2];
|
||||
|
||||
state[0] = src[0];
|
||||
state[1] = src[1];
|
||||
|
||||
SDL_assert(format == AUDIO_S16SYS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue