linux-jack: Fix conversion from channels to speaker layout

master
chaselliu 2020-04-13 22:42:31 +08:00
parent a43c10b173
commit 04e76d7d94
1 changed files with 2 additions and 0 deletions

View File

@ -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: