Skip to content
Snippets Groups Projects
Commit 960057cb authored by Lioncash's avatar Lioncash
Browse files

service/audio/hwopus: Provide a name for the second word of OpusPacketHeader

This indicates the entropy coder's final range.
parent d41d8576
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <opus.h> #include <opus.h>
#include "common/common_funcs.h" #include "common/assert.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "core/hle/ipc_helpers.h" #include "core/hle/ipc_helpers.h"
#include "core/hle/kernel/hle_ipc.h" #include "core/hle/kernel/hle_ipc.h"
...@@ -24,8 +24,10 @@ struct OpusDeleter { ...@@ -24,8 +24,10 @@ struct OpusDeleter {
}; };
struct OpusPacketHeader { struct OpusPacketHeader {
// Packet size in bytes.
u32_be size; u32_be size;
INSERT_PADDING_WORDS(1); // Indicates the final range of the codec's entropy coder.
u32_be final_range;
}; };
static_assert(sizeof(OpusPacketHeader) == 0x8, "OpusHeader is an invalid size"); static_assert(sizeof(OpusPacketHeader) == 0x8, "OpusHeader is an invalid size");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment