mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Use the audio argument as the name of the audio track
This commit is contained in:
@@ -1416,8 +1416,12 @@ static const AudioDevice* get_audio_device_by_name(const std::vector<AudioDevice
|
||||
|
||||
static MergedAudioInputs parse_audio_input_arg(const char *str) {
|
||||
MergedAudioInputs result;
|
||||
result.track_name = str;
|
||||
|
||||
split_string(str, '|', [&](const char *sub, size_t size) {
|
||||
if(size == 0)
|
||||
return true;
|
||||
|
||||
AudioInput audio_input;
|
||||
audio_input.name.assign(sub, size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user