decoder/flac: add noexcept and inline

This commit is contained in:
Max Kellermann
2022-07-12 12:09:13 +02:00
parent 3e2de560ca
commit 5f51be43cf
7 changed files with 70 additions and 63 deletions

View File

@@ -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