Add option to merge audio devices by separating audio inputs with | in one -a

This commit is contained in:
dec05eba
2023-02-16 23:39:02 +01:00
parent c22c66260e
commit 1d8d95fba4
7 changed files with 345 additions and 129 deletions

View File

@@ -31,6 +31,10 @@ struct AudioInput {
std::string description;
};
struct MergedAudioInputs {
std::vector<AudioInput> audio_inputs;
};
/*
Get a sound device by name, returning the device into the @device parameter.
The device should be closed with @sound_device_close after it has been used