aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-02-16 23:39:02 +0100
committerdec05eba <dec05eba@protonmail.com>2023-02-16 23:40:21 +0100
commit1d8d95fba49a6c1eb6304d439b671f39595b984d (patch)
tree03299c76d7bfd872e999e6c48c4ad860ee4ee167 /include
parentc22c66260e0a2442ac4344f722cb60279449c0cc (diff)
Add option to merge audio devices by separating audio inputs with | in one -a
Diffstat (limited to 'include')
-rw-r--r--include/sound.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound.hpp b/include/sound.hpp
index 710533e..6ffa6c5 100644
--- a/include/sound.hpp
+++ b/include/sound.hpp
@@ -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