mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
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:
parent
c3ded6d56c
commit
f22d7bbb90
1 changed files with 0 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue