libobs/media-io: Clean surround API
(also modifies obs-ffmpeg, audio-monitoring, win-wasapi, decklink, obs-outputs) Removes speaker layouts which are not exposed in UI. The speaker layouts selectable by users in the UI are the most common ones. It is not necessary to keep other layouts. (This basically removes 5POINT1_SURROUND, 7POINT1_SURROUND, SURROUND =3.0).
This commit is contained in:
@@ -112,12 +112,8 @@ static bool build_flv_meta_data(obs_output_t *context,
|
||||
audio_output_get_channels(audio) == 5);
|
||||
enc_bool_val(&enc, end, "5.1",
|
||||
audio_output_get_channels(audio) == 6);
|
||||
enc_bool_val(&enc, end, "5.1surround",
|
||||
audio_output_get_channels(audio) == 6);
|
||||
enc_bool_val(&enc, end, "7.1",
|
||||
audio_output_get_channels(audio) == 8);
|
||||
enc_bool_val(&enc, end, "7.1surround",
|
||||
audio_output_get_channels(audio) == 8);
|
||||
|
||||
dstr_printf(&encoder_name, "%s (libobs version ",
|
||||
MODULE_NAME);
|
||||
|
Reference in New Issue
Block a user