Add a missing int cast
This commit is contained in:
parent
b74ee86b1d
commit
0c15ce0060
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ static int GetAudioStreamDataInternal(SDL_AudioStream *stream, void *buf, int le
|
|||
return output_bytes;
|
||||
}
|
||||
|
||||
int work_buffer_frames = (work_buffer_tail - work_buffer) / src_sample_frame_size;
|
||||
int work_buffer_frames = (int)(work_buffer_tail - work_buffer) / src_sample_frame_size;
|
||||
SDL_assert(work_buffer_frames == input_frames + (resampler_padding_frames * 2));
|
||||
|
||||
// Resampling! get the work buffer to float32 format, etc, in-place.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue