From 8d49a57524c1f3cd98df79a0e7edc5feb1aafef4 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 18 Jul 2023 01:03:36 -0400 Subject: i dont like nodiscard anymore --- src/audio/manager.hpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/audio/manager.hpp b/src/audio/manager.hpp index 0083a1f..005a4a3 100644 --- a/src/audio/manager.hpp +++ b/src/audio/manager.hpp @@ -42,30 +42,30 @@ public: void SetCaptureGate(double gate); void SetCaptureGain(double gain); - [[nodiscard]] double GetCaptureGate() const noexcept; - [[nodiscard]] double GetCaptureGain() const noexcept; + double GetCaptureGate() const noexcept; + double GetCaptureGain() const noexcept; void SetMuteSSRC(uint32_t ssrc, bool mute); void SetVolumeSSRC(uint32_t ssrc, double volume); - [[nodiscard]] double GetVolumeSSRC(uint32_t ssrc) const; + double GetVolumeSSRC(uint32_t ssrc) const; void SetEncodingApplication(int application); - [[nodiscard]] int GetEncodingApplication(); + int GetEncodingApplication(); void SetSignalHint(int signal); - [[nodiscard]] int GetSignalHint(); + int GetSignalHint(); void SetBitrate(int bitrate); - [[nodiscard]] int GetBitrate(); + int GetBitrate(); void Enumerate(); - [[nodiscard]] bool OK() const; + bool OK() const; - [[nodiscard]] double GetCaptureVolumeLevel() const noexcept; - [[nodiscard]] double GetSSRCVolumeLevel(uint32_t ssrc) const noexcept; + double GetCaptureVolumeLevel() const noexcept; + double GetSSRCVolumeLevel(uint32_t ssrc) const noexcept; - [[nodiscard]] AudioDevices &GetDevices(); + AudioDevices &GetDevices(); - [[nodiscard]] uint32_t GetRTPTimestamp() const noexcept; + uint32_t GetRTPTimestamp() const noexcept; private: void OnCapturedPCM(const int16_t *pcm, ma_uint32 frames); -- cgit v1.2.3