From f22d7bbb90046cd310ab2784b36280e10df4229b Mon Sep 17 00:00:00 2001 From: Zaggy1024 Date: Sun, 6 Aug 2023 01:41:07 -0500 Subject: [PATCH] LibAudio: Remove invalid FIXME from PulseAudioContext::create_stream() The entire API is designed to run synchronously, the API callers must implement the asynchronicity. --- Userland/Libraries/LibAudio/PulseAudioWrappers.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibAudio/PulseAudioWrappers.cpp b/Userland/Libraries/LibAudio/PulseAudioWrappers.cpp index 96d1d3833e..0b7f336f08 100644 --- a/Userland/Libraries/LibAudio/PulseAudioWrappers.cpp +++ b/Userland/Libraries/LibAudio/PulseAudioWrappers.cpp @@ -234,7 +234,6 @@ ErrorOr> PulseAudioContext::create_stream(Output return Error::from_string_literal("Error while connecting the PulseAudio stream"); } - // FIXME: This should be asynchronous if connection can take longer than a fraction of a second. while (true) { bool is_ready = false; switch (stream_wrapper->get_connection_state()) {