1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -36,7 +36,7 @@ MaybeLoaderError WavLoaderPlugin::initialize()
return {};
}
WavLoaderPlugin::WavLoaderPlugin(const Bytes& buffer)
WavLoaderPlugin::WavLoaderPlugin(Bytes const& buffer)
{
m_stream = make<InputMemoryStream>(buffer);
if (!m_stream) {
@ -91,7 +91,7 @@ LoaderSamples WavLoaderPlugin::get_more_samples(size_t max_bytes_to_read_from_in
return buffer.release_value();
}
MaybeLoaderError WavLoaderPlugin::seek(const int sample_index)
MaybeLoaderError WavLoaderPlugin::seek(int const sample_index)
{
dbgln_if(AWAVLOADER_DEBUG, "seek sample_index {}", sample_index);
if (sample_index < 0 || sample_index >= m_total_samples)