From cbf4cba5a97ed7ed9303627ceb644aff9c1fbf4e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 20 Nov 2024 19:09:40 +0100 Subject: 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. --- include/sound.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sound.hpp') 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 audio_inputs; - AudioInputType type = AudioInputType::DEVICE; - bool inverted = false; }; typedef enum { -- cgit v1.2.3