fix audio conversion from S16 to F32 using SSE2
This commit is contained in:
1 parent
0f9422a6a5
commit
61821bd876
1 file changed
+1
-1
@@ -427,7 +427,7 @@ static void SDLCALL SDL_Convert_U8_to_F32_SSE2(SDL_AudioCVT *cvt, SDL_AudioForma
|
|||||||
|
|
||||||
static void SDLCALL SDL_Convert_S16_to_F32_SSE2(SDL_AudioCVT *cvt, SDL_AudioFormat format)
|
static void SDLCALL SDL_Convert_S16_to_F32_SSE2(SDL_AudioCVT *cvt, SDL_AudioFormat format)
|
||||||
{
|
{
|
||||||
const Sint8 *src = (const Sint8 *)cvt->buf;
|
const Sint16 *src = (const Sint16 *)cvt->buf;
|
||||||
float *dst = (float *)cvt->buf;
|
float *dst = (float *)cvt->buf;
|
||||||
int i = cvt->len_cvt / 2;
|
int i = cvt->len_cvt / 2;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user