Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::AudioDeviceManager::ResolveResult Struct Reference

Resolve a stored selection against the live device list. More...

#include <audio_device_manager.hpp>

Public Attributes

DeviceSelection resolved
bool fallback_used_output = false
bool fallback_used_input = false

Detailed Description

Resolve a stored selection against the live device list.

If sel.output_device (or .input_device) is empty or no longer present in available, falls back to the system-default device id (fallback_output_id / fallback_input_id) and records that fallback in the returned struct. fallback_used_output / fallback_used_input flags surface to the caller so it can log the substitution.

Member Data Documentation

◆ fallback_used_input

bool pulp::audio::AudioDeviceManager::ResolveResult::fallback_used_input = false

◆ fallback_used_output

bool pulp::audio::AudioDeviceManager::ResolveResult::fallback_used_output = false

◆ resolved

DeviceSelection pulp::audio::AudioDeviceManager::ResolveResult::resolved

The documentation for this struct was generated from the following file: