mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
ppc sound fix
This commit is contained in:
parent
3bcaf6498f
commit
2d8c4a61b6
|
@ -235,6 +235,10 @@ static void mix(short *final_out, unsigned frames)
|
|||
final_out[j+1] = int2short(vr);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(CONF_ARCH_ENDIAN_BIG)
|
||||
swap_endian(final_out, sizeof(short), frames * 2);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void sdlcallback(void *unused, Uint8 *stream, int len)
|
||||
|
|
Loading…
Reference in a new issue