-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-86 Implement channel order mapping
Before this commit, order of channels in surround layout was defined by ChannelPosition enum values. After this commit, each ChannelSet (and hence SampleSpec) contains ChannelOrder enum, which defines order of surround channels in memory. Currently two orders are supported: - ChanOrder_Smpte - widely used order define by ITU/SMPTE spec; compatible with Dolby, AIFF-C, AAC, and RTP/AVP - ChanOrder_Alsa - order used by ALSA hw devices ChannelMapper now takes order into account. If input & output orders differ, it automatically performs reordering. So far surround layouts were not exposed in API and CLI. Thus, changing default order did not break anything, however all tests had to be updated to match new order.
- Loading branch information
Showing
5 changed files
with
845 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.