diff options
author | Chris Robinson <[email protected]> | 2018-12-29 17:29:52 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-29 17:29:52 -0800 |
commit | 3df1d185f8bcf8d470249594a15d0e781a705ca2 (patch) | |
tree | 247c15e9cc477d3a087cbd6734612b0d52277548 /Alc/backends/pulseaudio.cpp | |
parent | 24e763f2a12fda79ff4ff87b46d8cfad15dc9b9e (diff) |
Don't make the backend's lock/unlock methods noexcept
Diffstat (limited to 'Alc/backends/pulseaudio.cpp')
-rw-r--r-- | Alc/backends/pulseaudio.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp index e714ac3f..34c5fbfe 100644 --- a/Alc/backends/pulseaudio.cpp +++ b/Alc/backends/pulseaudio.cpp @@ -759,8 +759,8 @@ struct PulsePlayback final : public BackendBase { ALCboolean start() override; void stop() override; ClockLatency getClockLatency() override; - void lock() noexcept override; - void unlock() noexcept override; + void lock() override; + void unlock() override; std::string mDeviceName; @@ -1225,10 +1225,10 @@ ClockLatency PulsePlayback::getClockLatency() } -void PulsePlayback::lock() noexcept +void PulsePlayback::lock() { pa_threaded_mainloop_lock(mLoop); } -void PulsePlayback::unlock() noexcept +void PulsePlayback::unlock() { pa_threaded_mainloop_unlock(mLoop); } @@ -1254,8 +1254,8 @@ struct PulseCapture final : public BackendBase { ALCenum captureSamples(ALCvoid *buffer, ALCuint samples) override; ALCuint availableSamples() override; ClockLatency getClockLatency() override; - void lock() noexcept override; - void unlock() noexcept override; + void lock() override; + void unlock() override; std::string mDeviceName; @@ -1577,10 +1577,10 @@ ClockLatency PulseCapture::getClockLatency() } -void PulseCapture::lock() noexcept +void PulseCapture::lock() { pa_threaded_mainloop_lock(mLoop); } -void PulseCapture::unlock() noexcept +void PulseCapture::unlock() { pa_threaded_mainloop_unlock(mLoop); } } // namespace |