mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
node-driver, null-audio-sink: Fix EAGAIN check
spa_system_timerfd_read() returns -EAGAIN.
This commit is contained in:
parent
8e6d070148
commit
00ca590ff6
2 changed files with 2 additions and 2 deletions
|
|
@ -241,7 +241,7 @@ static void on_timeout(struct spa_source *source)
|
|||
|
||||
if ((res = spa_system_timerfd_read(this->data_system,
|
||||
this->timer_source.fd, &expirations)) < 0) {
|
||||
if (res != EAGAIN)
|
||||
if (res != -EAGAIN)
|
||||
spa_log_error(this->log, NAME " %p: timerfd error: %s",
|
||||
this, spa_strerror(res));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue