1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +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:
William McPherson 2020-02-10 23:45:10 +11:00 committed by Andreas Kling
parent d55d2b2794
commit aa149b9330
5 changed files with 30 additions and 30 deletions

View file

@ -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;
};