diff options
author | John Emmas <johne53@tiscali.co.uk> | 2016-06-18 11:36:13 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2016-06-18 11:36:13 +0100 |
commit | 48329f8d6ee89480f93747f08603c7aed4d07f36 (patch) | |
tree | f00ed0eada365552f409cd5c40feadd76d18f378 /libs/ardour/resampled_source.cc | |
parent | 6ca3c67046763f5187c1b08ac073b174ebcd9f05 (diff) |
Make sure MSVC knows which version of 'floor()' we want
Diffstat (limited to 'libs/ardour/resampled_source.cc')
-rw-r--r-- | libs/ardour/resampled_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/resampled_source.cc b/libs/ardour/resampled_source.cc index ca59d20b58..04eecf0dee 100644 --- a/libs/ardour/resampled_source.cc +++ b/libs/ardour/resampled_source.cc @@ -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) { |