encoder/wave: remove constexpr
because memcpy() is not allowed
This commit is contained in:
parent
22804cfbe8
commit
85adefd9a4
@ -63,7 +63,7 @@ struct WaveHeader {
|
|||||||
|
|
||||||
static_assert(sizeof(WaveHeader) == 44);
|
static_assert(sizeof(WaveHeader) == 44);
|
||||||
|
|
||||||
static constexpr WaveHeader
|
static WaveHeader
|
||||||
MakeWaveHeader(int channels, int bits,
|
MakeWaveHeader(int channels, int bits,
|
||||||
int freq, int block_size) noexcept
|
int freq, int block_size) noexcept
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user