diff options
Diffstat (limited to 'src/pcm/ChannelsConverter.hxx')
-rw-r--r-- | src/pcm/ChannelsConverter.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcm/ChannelsConverter.hxx b/src/pcm/ChannelsConverter.hxx index b14958ea1..510f72cfd 100644 --- a/src/pcm/ChannelsConverter.hxx +++ b/src/pcm/ChannelsConverter.hxx @@ -41,10 +41,10 @@ class PcmChannelsConverter { public: #ifndef NDEBUG - PcmChannelsConverter() + PcmChannelsConverter() noexcept :format(SampleFormat::UNDEFINED) {} - ~PcmChannelsConverter() { + ~PcmChannelsConverter() noexcept { assert(format == SampleFormat::UNDEFINED); } #endif @@ -64,7 +64,7 @@ public: /** * Closes the object. After that, you may call Open() again. */ - void Close(); + void Close() noexcept; /** * Convert a block of PCM data. |