mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-19 20:52:43 -04:00
decklink: Remove inactive audio channels (linux, macOs)
Decklink cards accept 2, 8 or 16 audio channels. If obs audio output is setup to n channels ( 8 >= n > 2), and the decklink card captures n channels, one needs to squash the silent channels (n+1, .., 8) or sampling issues occur. This had been done on windows but is required also on macOs and linux. The commit adds the fix for macOS and linux. Some code factoring has also been done. Closes obsproject/obs-studio#1350
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f