diff --git a/src/encoder/plugins/WaveEncoderPlugin.cxx b/src/encoder/plugins/WaveEncoderPlugin.cxx index 2f0ccb2f2..53f45d97b 100644 --- a/src/encoder/plugins/WaveEncoderPlugin.cxx +++ b/src/encoder/plugins/WaveEncoderPlugin.cxx @@ -71,6 +71,8 @@ struct WaveHeader { uint32_t data_size; }; +static_assert(sizeof(WaveHeader) == 44); + static constexpr WaveHeader MakeWaveHeader(int channels, int bits, int freq, int block_size) noexcept