Move binary math functions to Math namespace in math_funcs_binary header.
This commit is contained in:
parent
376903417d
commit
0ea5ece984
50 changed files with 330 additions and 286 deletions
|
|
@ -129,7 +129,7 @@ Error AudioDriverWeb::init() {
|
|||
}
|
||||
mix_rate = audio_context.mix_rate;
|
||||
channel_count = audio_context.channel_count;
|
||||
buffer_length = closest_power_of_2(uint32_t(latency * mix_rate / 1000));
|
||||
buffer_length = Math::closest_power_of_2(uint32_t(latency * mix_rate / 1000));
|
||||
Error err = create(buffer_length, channel_count);
|
||||
if (err != OK) {
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue