mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-22 00:20:23 +01:00
7d87145004
Use `BackgroundExecutor::spawn_with_priority(Priority::RealtimeAudio, fut)` to spawn the audio input thread with correct thread priority much like we do for audio output. Under-the-hood, `spawn_with_priority + Priority::RealtimeAudio` boils down to calling `std::thread::spawn` and setting appropriate thread priority. Release Notes: - N/A