summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-07-18 01:03:36 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-07-18 01:03:36 -0400
commit8d49a57524c1f3cd98df79a0e7edc5feb1aafef4 (patch)
treee746a4d1816941a9bf038d09c4d461dbb1cd9001 /src/audio
parentd04e101800c451c4963a530b7cf745666105cec4 (diff)
downloadabaddon-portaudio-8d49a57524c1f3cd98df79a0e7edc5feb1aafef4.tar.gz
abaddon-portaudio-8d49a57524c1f3cd98df79a0e7edc5feb1aafef4.zip
i dont like nodiscard anymore
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/manager.hpp22
1 files 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);