Revert one modification in 0f24d524078c1f866a5200a25cec8779863bb46c that
makes "add to mixer" options do nothing.
This commit is contained in:
zoltanvb 2022-12-21 19:08:07 +01:00 committed by GitHub
parent 2b669f4e4b
commit 8bfa02e2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1206,8 +1206,10 @@ bool audio_driver_mixer_add_stream(audio_mixer_stream_params_t *params)
break;
case AUDIO_MIXER_SLOT_SELECTION_AUTOMATIC:
default:
return audio_driver_mixer_get_free_stream_slot(
&free_slot, params->stream_type);
if (!audio_driver_mixer_get_free_stream_slot(
&free_slot, params->stream_type))
return false;
break;
}
if (params->state == AUDIO_STREAM_STATE_NONE)