mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-06 06:50:43 +09:00
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.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user