diff options
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) { |