mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-18 11:34:19 +02:00
24 lines
552 B
C++
24 lines
552 B
C++
#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
|