13
0

Make sure MSVC knows which version of 'floor()' we want

This commit is contained in:
John Emmas 2016-06-18 11:36:13 +01:00
parent 6ca3c67046
commit 48329f8d6e

View File

@ -73,7 +73,7 @@ framecnt_t
ResampledImportableSource::read (Sample* output, framecnt_t nframes)
{
int err;
size_t bs = floor (blocksize / source->channels()) * source->channels();
size_t bs = floor ((float)(blocksize / source->channels())) * source->channels();
/* If the input buffer is empty, refill it. */
if (_src_data.input_frames == 0) {