aboutsummaryrefslogtreecommitdiff
path: root/include/sound.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-20 19:09:40 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-20 19:09:42 +0100
commitcbf4cba5a97ed7ed9303627ceb644aff9c1fbf4e (patch)
tree38978d5c503ea54e100c660cd716c5bc6dd7d6b2 /include/sound.hpp
parent6e0f5413d922f4c1d24bf236f98c9ead3ab0a447 (diff)
Allow recording app audio with -a, deprecate -aa and -aai
Use -a "app:brave" instead of -aa "brave". Use -a "app-inverse:brave" instead of -aai "brave". This now allows merging audio devices and app audio into the same audio track.
Diffstat (limited to 'include/sound.hpp')
-rw-r--r--include/sound.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound.hpp b/include/sound.hpp
index f71b84d..b3e34cc 100644
--- a/include/sound.hpp
+++ b/include/sound.hpp
@@ -34,6 +34,8 @@ enum class AudioInputType {
struct AudioInput {
std::string name;
std::string description;
+ AudioInputType type = AudioInputType::DEVICE;
+ bool inverted = false;
};
struct AudioDevices {
@@ -44,8 +46,6 @@ struct AudioDevices {
struct MergedAudioInputs {
std::vector<AudioInput> audio_inputs;
- AudioInputType type = AudioInputType::DEVICE;
- bool inverted = false;
};
typedef enum {