mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Make sure MSVC knows which version of 'floor()' we want
This commit is contained in:
parent
6ca3c67046
commit
48329f8d6e
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue