7ad3d4e49c
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. |
||
---|---|---|
.. | ||
audctl.cpp | ||
audctl.h | ||
auddbg.cpp | ||
auddbg.h | ||
audin_a.cpp | ||
audin_a.h | ||
audin_u.cpp | ||
audin_u.h | ||
audio.cpp | ||
audio.h | ||
audout_a.cpp | ||
audout_a.h | ||
audout_u.cpp | ||
audout_u.h | ||
audrec_a.cpp | ||
audrec_a.h | ||
audrec_u.cpp | ||
audrec_u.h | ||
audren_a.cpp | ||
audren_a.h | ||
audren_u.cpp | ||
audren_u.h | ||
codecctl.cpp | ||
codecctl.h | ||
errors.h | ||
hwopus.cpp | ||
hwopus.h |