mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-03 22:26:11 -05:00
libobs/media-io: Replace quad with 4.0
(also obs, deps/media-playback, libobs/audio-monitoring, decklink, linux-alsa, linux-pulseaudio, mac-capture, obs-ffmpeg, win-dshow, win-wasapi) Default channel layout for 4 channels is 4.0 in FFmpeg. Replacing quad with 4.0 will improve compatibility since FFmpeg has better support of its default channel layouts.
This commit is contained in:
@@ -3185,8 +3185,8 @@ bool OBSBasic::ResetAudio()
|
||||
ai.speakers = SPEAKERS_MONO;
|
||||
else if (strcmp(channelSetupStr, "2.1") == 0)
|
||||
ai.speakers = SPEAKERS_2POINT1;
|
||||
else if (strcmp(channelSetupStr, "4.0 Quad") == 0)
|
||||
ai.speakers = SPEAKERS_QUAD;
|
||||
else if (strcmp(channelSetupStr, "4.0") == 0)
|
||||
ai.speakers = SPEAKERS_4POINT0;
|
||||
else if (strcmp(channelSetupStr, "4.1") == 0)
|
||||
ai.speakers = SPEAKERS_4POINT1;
|
||||
else if (strcmp(channelSetupStr, "5.1") == 0)
|
||||
|
||||
Reference in New Issue
Block a user