mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 1314316 - Restore use of ceilf method instead of roundf. r=jesup
MozReview-Commit-ID: 5Wv5dqSy3B8 --HG-- extra : rebase_source : 23e09c1e37fc70626d8ef4178b7342117ddfc92f
This commit is contained in:
parent
5ad7b0c24d
commit
0dc4f7ef3b
@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
|
||||
|
||||
The cubeb git repository is: git://github.com/kinetiknz/cubeb.git
|
||||
|
||||
The git commit ID used was 9eacd3144b62ce2356c66c3260c9bc4151274192.
|
||||
The git commit ID used was 352c0bed012a770ef65aee1e507704922ea80b0e.
|
||||
|
@ -263,8 +263,8 @@ public:
|
||||
* number of output frames will be exactly equal. */
|
||||
uint32_t input_needed_for_output(uint32_t output_frame_count)
|
||||
{
|
||||
return (uint32_t)roundf((output_frame_count - samples_to_frames(resampling_out_buffer.length()))
|
||||
* resampling_ratio);
|
||||
return (uint32_t)ceilf((output_frame_count - samples_to_frames(resampling_out_buffer.length()))
|
||||
* resampling_ratio);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user