1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:47:34 +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

@ -66,7 +66,6 @@ public:
virtual u16 num_channels() override { return m_num_channels; }
virtual String format_name() override { return "FLAC (.flac)"; }
virtual PcmSampleFormat pcm_format() override { return m_sample_format; }
virtual RefPtr<Core::File> file() override { return m_file; }
bool is_fixed_blocksize_stream() const { return m_min_block_size == m_max_block_size; }
bool sample_count_unknown() const { return m_total_samples == 0; }