decoder/flac: add noexcept
and inline
This commit is contained in:
@@ -44,12 +44,12 @@ public:
|
||||
void Open(unsigned sample_rate, unsigned bits_per_sample,
|
||||
unsigned channels);
|
||||
|
||||
const AudioFormat &GetAudioFormat() const {
|
||||
const AudioFormat &GetAudioFormat() const noexcept {
|
||||
return audio_format;
|
||||
}
|
||||
|
||||
std::span<const std::byte> Import(const FLAC__int32 *const src[],
|
||||
size_t n_frames);
|
||||
size_t n_frames) noexcept;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user