diff options
Diffstat (limited to 'Userland/Libraries/LibAudio/WavWriter.h')
-rw-r--r-- | Userland/Libraries/LibAudio/WavWriter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibAudio/WavWriter.h b/Userland/Libraries/LibAudio/WavWriter.h index 9a7a4a220f..555bc09cc2 100644 --- a/Userland/Libraries/LibAudio/WavWriter.h +++ b/Userland/Libraries/LibAudio/WavWriter.h @@ -13,7 +13,7 @@ namespace Audio { class WavWriter { public: - WavWriter(const StringView& path, int sample_rate = 44100, int num_channels = 2, int bits_per_sample = 16); + WavWriter(StringView path, int sample_rate = 44100, int num_channels = 2, int bits_per_sample = 16); WavWriter(int sample_rate = 44100, int num_channels = 2, int bits_per_sample = 16); ~WavWriter(); @@ -28,7 +28,7 @@ public: u16 bits_per_sample() const { return m_bits_per_sample; } RefPtr<Core::File> file() const { return m_file; } - void set_file(const StringView& path); + 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_bits_per_sample(int bits_per_sample) { m_bits_per_sample = bits_per_sample; } |