aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/code_set.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-11 04:04:38 -0400
committerLioncash <mathew1800@gmail.com>2019-03-11 07:06:18 -0400
commit9053abb00d8b32d97aebc4d61f1c68d81662ab73 (patch)
tree17a4109284983d5496fa4f0891f4fafd42f0c798 /src/core/hle/kernel/code_set.cpp
parentcc357510d74f607f3318206d43819016ac0bc8b4 (diff)
hwopus: Leverage multistream API for decoding regular Opus packets
After doing a little more reading up on the Opus codec, it turns out that the multistream API that is part of libopus can handle regular packets. Regular packets are just a degenerate case of multistream Opus packets, and all that's necessary is to pass the number of streams as 1 and provide a basic channel mapping, then everything works fine for that case. This allows us to get rid of the need to use both APIs in the future when implementing multistream variants in a follow-up PR, greatly simplifying the code that needs to be written.
Diffstat (limited to 'src/core/hle/kernel/code_set.cpp')
0 files changed, 0 insertions, 0 deletions