mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00: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");
|
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) {
|
while (true) {
|
||||||
bool is_ready = false;
|
bool is_ready = false;
|
||||||
switch (stream_wrapper->get_connection_state()) {
|
switch (stream_wrapper->get_connection_state()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue