Skip to main content

prepare_default_input

Function prepare_default_input 

Source
pub fn prepare_default_input()
Expand description

Attempt to activate the system default input device for audio capture.

On macOS this re-sets the default input device via CoreAudio to nudge Bluetooth devices into HFP mode. On other platforms this is a no-op.

This is a best-effort operation — failures are logged at debug level and do not propagate errors.