summaryrefslogtreecommitdiff
path: root/src/audio_core/opus/parameters.h
diff options
context:
space:
mode:
authorGravatar Liam2024-02-20 22:18:57 -0500
committerGravatar Liam2024-02-20 22:51:39 -0500
commit2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c (patch)
treef7a70d1218a3e52da4f4587ee9f1b8ce0dfd2c99 /src/audio_core/opus/parameters.h
parentaudio: rewrite IHardwareOpusDecoder (diff)
downloadyuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.gz
yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.tar.xz
yuzu-2e4a6b7f92fbf73eb5173c9bda5c9b5b61f5458c.zip
audio: format
Diffstat (limited to 'src/audio_core/opus/parameters.h')
-rw-r--r--src/audio_core/opus/parameters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/opus/parameters.h b/src/audio_core/opus/parameters.h
index 4c54b2825..47c418b9f 100644
--- a/src/audio_core/opus/parameters.h
+++ b/src/audio_core/opus/parameters.h
@@ -20,7 +20,7 @@ struct OpusParametersEx {
20 /* 0x00 */ u32 sample_rate; 20 /* 0x00 */ u32 sample_rate;
21 /* 0x04 */ u32 channel_count; 21 /* 0x04 */ u32 channel_count;
22 /* 0x08 */ bool use_large_frame_size; 22 /* 0x08 */ bool use_large_frame_size;
23 /* 0x09 */ INSERT_PADDING_BYTES(7); 23 /* 0x09 */ INSERT_PADDING_BYTES_NOINIT(7);
24}; // size = 0x10 24}; // size = 0x10
25static_assert(sizeof(OpusParametersEx) == 0x10, "OpusParametersEx has the wrong size!"); 25static_assert(sizeof(OpusParametersEx) == 0x10, "OpusParametersEx has the wrong size!");
26 26
@@ -40,7 +40,7 @@ struct OpusMultiStreamParametersEx {
40 /* 0x08 */ u32 total_stream_count; 40 /* 0x08 */ u32 total_stream_count;
41 /* 0x0C */ u32 stereo_stream_count; 41 /* 0x0C */ u32 stereo_stream_count;
42 /* 0x10 */ bool use_large_frame_size; 42 /* 0x10 */ bool use_large_frame_size;
43 /* 0x11 */ INSERT_PADDING_BYTES(7); 43 /* 0x11 */ INSERT_PADDING_BYTES_NOINIT(7);
44 /* 0x18 */ std::array<u8, OpusStreamCountMax + 1> mappings; 44 /* 0x18 */ std::array<u8, OpusStreamCountMax + 1> mappings;
45}; // size = 0x118 45}; // size = 0x118
46static_assert(sizeof(OpusMultiStreamParametersEx) == 0x118, 46static_assert(sizeof(OpusMultiStreamParametersEx) == 0x118,