summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-11 04:04:38 -0400
committerGravatar Lioncash2019-03-11 07:06:18 -0400
commit7ad3d4e49cbf8490dff39606d9683aa4efd09c02 (patch)
tree17a4109284983d5496fa4f0891f4fafd42f0c798 /src/core/frontend/framebuffer_layout.cpp
parentMerge pull request #2207 from lioncash/hwopus (diff)
downloadyuzu-7ad3d4e49cbf8490dff39606d9683aa4efd09c02.tar.gz
yuzu-7ad3d4e49cbf8490dff39606d9683aa4efd09c02.tar.xz
yuzu-7ad3d4e49cbf8490dff39606d9683aa4efd09c02.zip
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/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions