Fix audio capture not working with noisetorch if combined with another source with some audio devices. Remove the ability to set audio track name for now. If you need this, email me

This commit is contained in:
dec05eba
2025-05-03 19:28:25 +02:00
parent 39bc110a20
commit 0cdc359931
3 changed files with 2 additions and 7 deletions

View File

@@ -1383,12 +1383,6 @@ static MergedAudioInputs parse_audio_input_arg(const char *str, const AudioDevic
return result;
}
const char *track_name_sep_ptr = strchr(str, '/');
if(track_name_sep_ptr) {
result.track_name.assign(str, track_name_sep_ptr - str);
str = track_name_sep_ptr + 1;
}
split_string(str, '|', [&](const char *sub, size_t size) {
AudioInput audio_input;
audio_input.name.assign(sub, size);