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

LibAudio: Get rid of unused method Loader::file()

`aplay` and two files of `SoundPlayer` were relying on the include of
`LibCore/File.h` by `Loader.h`.
This commit is contained in:
Lucas CHOLLET 2022-10-12 18:20:39 +02:00 committed by Linus Groh
parent 1444b42936
commit 2d6124049a
6 changed files with 3 additions and 5 deletions

View file

@ -35,7 +35,6 @@ public:
virtual u32 sample_rate() override { return m_sample_rate; }
virtual u16 num_channels() override { return m_num_channels; }
virtual PcmSampleFormat pcm_format() override { return m_sample_format; }
virtual RefPtr<Core::File> file() override { return m_file; }
virtual String format_name() override { return "MP3 (.mp3)"; }
private: