How SignalFlow handles hardware I/O
Preferred hardware settings are set in AudioGraphConfig, and are handled as below.
sample_rate
: Sets the audio sample rate of the graph. If unspecified, the hardware's underlying native sample rate is used. On Core Audio, this also sets the preferred sample rate of the underlying hardware, and the nearest available sample rate is used. If the configured sample rate does not match the hardware's native sample rate, miniaudio resamples the audio automatically. Note that the same sample rate must currently be used for both input and output devices.buffer_size
: Sets the preferred buffer size, in frames.backend_name
: Different backends cannot be used for different input and output devices, because they share the same callback in the underlying audio abstraction layer.output_device_name
input_device_name
Last update:
2025-01-09
Created: 2025-01-09
Created: 2025-01-09