LibAudio/Wav: Remove unused methods
This commit is contained in:
parent
0ecbdc4627
commit
901baf31ff
Notes:
sideshowbarker
2024-07-17 00:16:31 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/901baf31ff Pull-request: https://github.com/SerenityOS/serenity/pull/23200
1 changed files with 0 additions and 7 deletions
|
@ -30,14 +30,7 @@ public:
|
|||
virtual ErrorOr<void> write_samples(ReadonlySpan<Sample> samples) override;
|
||||
virtual ErrorOr<void> finalize() override;
|
||||
|
||||
u32 sample_rate() const { return m_sample_rate; }
|
||||
u16 num_channels() const { return m_num_channels; }
|
||||
PcmSampleFormat sample_format() const { return m_sample_format; }
|
||||
|
||||
ErrorOr<void> set_file(StringView path);
|
||||
void set_num_channels(int num_channels) { m_num_channels = num_channels; }
|
||||
void set_sample_rate(int sample_rate) { m_sample_rate = sample_rate; }
|
||||
void set_sample_format(PcmSampleFormat sample_format) { m_sample_format = sample_format; }
|
||||
|
||||
private:
|
||||
ErrorOr<void> write_header();
|
||||
|
|
Loading…
Add table
Reference in a new issue