output control TUI

This commit is contained in:
Boof2015
2026-08-15 19:35:25 -04:00
parent 12ff657929
commit b691178d65
8 changed files with 543 additions and 36 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include "system_audio_capture.h"
#include <string>
namespace Prism::Tui {
struct OutputSwitchOutcome {
bool success = false;
bool captureRunning = false;
Prism::Capture::StartResult started;
std::string requestedDeviceId;
std::string error;
};
OutputSwitchOutcome switchOutputCapture(
Prism::Capture::SystemAudioCapture& capture,
const std::string& currentRequestedDeviceId,
const Prism::Capture::StartResult& currentStarted,
const std::string& nextRequestedDeviceId);
} // namespace Prism::Tui