LibAudio: Remove invalid FIXME from PulseAudioContext::create_stream()

The entire API is designed to run synchronously, the API callers must
implement the asynchronicity.
This commit is contained in:
Zaggy1024 2023-08-06 01:41:07 -05:00 committed by Andrew Kaster
parent c3ded6d56c
commit f22d7bbb90

View file

@ -234,7 +234,6 @@ ErrorOr<NonnullRefPtr<PulseAudioStream>> 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()) {