mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibAudio/Piano: Replace floats with doubles
We should default to double-precision so that clients can make the choice to use float or double.
This commit is contained in:
parent
d55d2b2794
commit
aa149b9330
Notes:
sideshowbarker
2024-07-19 09:28:25 +09:00
Author: https://github.com/willmcpherson2
Commit: aa149b9330
Pull-request: https://github.com/SerenityOS/serenity/pull/1204
Reviewed-by: https://github.com/awesomekling ✅
5 changed files with 30 additions and 30 deletions
|
@ -45,7 +45,7 @@ private:
|
|||
|
||||
virtual void paint_event(GUI::PaintEvent&) override;
|
||||
|
||||
int sample_to_y(float percentage) const;
|
||||
int sample_to_y(double percentage) const;
|
||||
|
||||
AudioEngine& m_audio_engine;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue