diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-07 11:43:06 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-07 11:48:35 +0100 |
commit | 960057cba0b9b66cadbd64b83516a442235ddb32 (patch) | |
tree | 14b1d648f19796cee4e0d3e83209d483dc324f36 /src/core/hle/service/audio | |
parent | service/audio/hwopus: Move Opus packet header out of the IHardwareOpusDecoderManager (diff) | |
download | yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.tar yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.tar.gz yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.tar.bz2 yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.tar.lz yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.tar.xz yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.tar.zst yuzu-960057cba0b9b66cadbd64b83516a442235ddb32.zip |
Diffstat (limited to 'src/core/hle/service/audio')
-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 @@ #include <opus.h> -#include "common/common_funcs.h" +#include "common/assert.h" #include "common/logging/log.h" #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/hle_ipc.h" @@ -24,8 +24,10 @@ struct OpusDeleter { }; struct OpusPacketHeader { + // Packet size in bytes. 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"); |