mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Everywhere: Fix typos
Mostly in comments, but sprintf() now prints "August" instead of "Auguest" so that's something.
This commit is contained in:
parent
7399874479
commit
ef1b21004f
Notes:
sideshowbarker
2024-07-19 02:05:56 +09:00
Author: https://github.com/nico
Commit: ef1b21004f
Pull-request: https://github.com/SerenityOS/serenity/pull/3662
28 changed files with 39 additions and 39 deletions
|
@ -58,7 +58,7 @@ RefPtr<Buffer> WavLoader::get_more_samples(size_t max_bytes_to_read_from_input)
|
|||
return nullptr;
|
||||
|
||||
auto buffer = Buffer::from_pcm_data(raw_samples, *m_resampler, m_num_channels, m_bits_per_sample);
|
||||
//Buffer contains normalized samples, but m_loaded_samples should containt the ammount of actually loaded samples
|
||||
//Buffer contains normalized samples, but m_loaded_samples should contain the amount of actually loaded samples
|
||||
m_loaded_samples += static_cast<int>(max_bytes_to_read_from_input) / (m_num_channels * (m_bits_per_sample / 8));
|
||||
m_loaded_samples = min(m_total_samples, m_loaded_samples);
|
||||
return buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue