summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.h
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
commit7ad3d4e49cbf8490dff39606d9683aa4efd09c02 (patch)
tree17a4109284983d5496fa4f0891f4fafd42f0c798 /src/input_common/sdl/sdl_impl.h
parent0aa824b12f61c7c25e909ef181642e6d24ddfd0f (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/input_common/sdl/sdl_impl.h')
0 files changed, 0 insertions, 0 deletions