roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.02k stars 203 forks source link

Dynamic channel order #694

Open gavv opened 4 months ago

gavv commented 4 months ago

Currently channel order can be only one of the predefined orders (ChannelOrder enum).

In #693 we're going to support formats which support a lot of channel orders (like AIFF), and instead of explicitly supporting every possible channel order, it would be better to rely on libsndfile and just to query channel map from it in runtime.

To make it work, we can do the following: