core: Silence Wclass-memaccess warnings
This requires making several types trivial and properly initialize them whenever they are called.
This commit is contained in:
parent
3ff978aa4f
commit
f8650a9580
17 changed files with 215 additions and 205 deletions
|
@ -29,7 +29,7 @@ constexpr int DefaultSampleRate{48000};
|
|||
struct AudoutParams {
|
||||
s32_le sample_rate;
|
||||
u16_le channel_count;
|
||||
INSERT_PADDING_BYTES(2);
|
||||
INSERT_PADDING_BYTES_NOINIT(2);
|
||||
};
|
||||
static_assert(sizeof(AudoutParams) == 0x8, "AudoutParams is an invalid size");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue