diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/audio/hwopus.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cpp index 61af2e6d6..aeaa2623b 100644 --- a/src/core/hle/service/audio/hwopus.cpp +++ b/src/core/hle/service/audio/hwopus.cpp | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | #include <opus.h> | 10 | #include <opus.h> |
| 11 | 11 | ||
| 12 | #include "common/common_funcs.h" | 12 | #include "common/assert.h" |
| 13 | #include "common/logging/log.h" | 13 | #include "common/logging/log.h" |
| 14 | #include "core/hle/ipc_helpers.h" | 14 | #include "core/hle/ipc_helpers.h" |
| 15 | #include "core/hle/kernel/hle_ipc.h" | 15 | #include "core/hle/kernel/hle_ipc.h" |
| @@ -24,8 +24,10 @@ struct OpusDeleter { | |||
| 24 | }; | 24 | }; |
| 25 | 25 | ||
| 26 | struct OpusPacketHeader { | 26 | struct OpusPacketHeader { |
| 27 | // Packet size in bytes. | ||
| 27 | u32_be size; | 28 | u32_be size; |
| 28 | INSERT_PADDING_WORDS(1); | 29 | // Indicates the final range of the codec's entropy coder. |
| 30 | u32_be final_range; | ||
| 29 | }; | 31 | }; |
| 30 | static_assert(sizeof(OpusPacketHeader) == 0x8, "OpusHeader is an invalid size"); | 32 | static_assert(sizeof(OpusPacketHeader) == 0x8, "OpusHeader is an invalid size"); |
| 31 | 33 | ||