mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 00:38:56 +00:00
LibDSP: Refactor OOP non-functionally
* Don't inherit from Core::Object everywhere, that's overkill. Use RefCounted instead. * Change some constructor visibilites to facilitate the above. * default-implement all virtual destructors if possible. * Drive-by include hygiene.
This commit is contained in:
parent
3cfa9b63b5
commit
4a6ebb8beb
Notes:
sideshowbarker
2024-07-17 10:55:40 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 4a6ebb8beb
Pull-request: https://github.com/SerenityOS/serenity/pull/14010
9 changed files with 48 additions and 46 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, kleines Filmröllchen <filmroellchen@serenityos.org>.
|
||||
* Copyright (c) 2021-2022, kleines Filmröllchen <filmroellchen@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -7,11 +7,12 @@
|
|||
#include <AK/HashMap.h>
|
||||
#include <AK/Math.h>
|
||||
#include <AK/Random.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <AK/StdLibExtras.h>
|
||||
#include <LibAudio/Sample.h>
|
||||
#include <LibDSP/Envelope.h>
|
||||
#include <LibDSP/Processor.h>
|
||||
#include <LibDSP/Synthesizers.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace LibDSP::Synthesizers {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue