mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-19 12:04:18 +02:00
output control TUI
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user