From 04e76d7d9428d8b12f568dbf5d9e9f6592e30dfd Mon Sep 17 00:00:00 2001 From: chaselliu Date: Mon, 13 Apr 2020 22:42:31 +0800 Subject: [PATCH] linux-jack: Fix conversion from channels to speaker layout --- plugins/linux-jack/jack-wrapper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/linux-jack/jack-wrapper.c b/plugins/linux-jack/jack-wrapper.c index b733a6fcc..f639b0c8f 100644 --- a/plugins/linux-jack/jack-wrapper.c +++ b/plugins/linux-jack/jack-wrapper.c @@ -43,6 +43,8 @@ static enum speaker_layout jack_channels_to_obs_speakers(uint_fast32_t channels) return SPEAKERS_STEREO; case 3: return SPEAKERS_2POINT1; + case 4: + return SPEAKERS_4POINT0; case 5: return SPEAKERS_4POINT1; case 6: