diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-20 19:09:40 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-20 19:09:42 +0100 |
commit | cbf4cba5a97ed7ed9303627ceb644aff9c1fbf4e (patch) | |
tree | 38978d5c503ea54e100c660cd716c5bc6dd7d6b2 /include/sound.hpp | |
parent | 6e0f5413d922f4c1d24bf236f98c9ead3ab0a447 (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.hpp | 4 |
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 { |