Persisted audio-device selection.
More...
#include <audio_device_manager.hpp>
Persisted audio-device selection.
output_channel_mask / input_channel_mask are 64-bit bitmasks over the device's natural channel order. Bit i set means channel i is enabled. Channels 64+ collapse onto bit 63 conservatively (Pulp targets stereo / multichannel-up-to-32, so this is fine for every shipping audio interface). Zero mask + non-zero channel count in DeviceConfig means "use the first N channels".
◆ buffer_size
| int pulp::audio::DeviceSelection::buffer_size = 0 |
◆ input_channel_mask
| uint64_t pulp::audio::DeviceSelection::input_channel_mask = 0 |
◆ input_device
| std::string pulp::audio::DeviceSelection::input_device |
◆ output_channel_mask
| uint64_t pulp::audio::DeviceSelection::output_channel_mask = 0 |
◆ output_device
| std::string pulp::audio::DeviceSelection::output_device |
◆ sample_rate
| double pulp::audio::DeviceSelection::sample_rate = 0.0 |
The documentation for this struct was generated from the following file: