Follow default audio devices when a headset connects or disconnects #12
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/audio-device-routing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Connecting or disconnecting a VR headset could leave Crewbot speaking through the old output or submitting the first part of an interrupted push-to-talk request.
Crewbot now monitors system audio devices through Qt. When a device change requires a rescan, it closes its streams before refreshing PortAudio's device table and reopens the directions that were in use. The device menus retain a named microphone or speaker while it is unplugged. The system-default option follows the new endpoint.
Losing the microphone during push-to-talk discards that recording, even when the device returns before the driver releases the button. Output loss drops queued speech. Apply / retry output also recovers playback in an engineer-only session.
Verification