From: GitHub pull_request - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: Fix latency error check in pulse_delay()
Date: Mon, 21 Sep 2026 02:30:22 +0200 (CEST) [thread overview]
Message-ID: <18d72e9ad234f100-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <alsa-project/alsa-plugins/pr/67@alsa-project.org>
alsa-project/alsa-plugins pull request #67 was opened from argothiel:
There is an issue with `pulse_delay()` which calls `pa_stream_get_latency()`. PulseAudio documents that this function returns `-PA_ERR_NODATA` when timing information is not available yet. The ALSA Pulse plugin compares the result against positive `PA_ERR_NODATA`; it therefore treats that temporary condition as an unrelated failure and returns `-EIO`.
Change `PA_ERR_NODATA` to `-PA_ERR_NODATA` in the comparison to not miss that branch.
Fixes #65.
Request URL : https://github.com/alsa-project/alsa-plugins/pull/67
Patch URL : https://github.com/alsa-project/alsa-plugins/pull/67.patch
Repository URL: https://github.com/alsa-project/alsa-plugins
next parent reply other threads:[~2026-09-21 0:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alsa-project/alsa-plugins/pr/67@alsa-project.org>
2026-09-21 0:30 ` GitHub pull_request - opened [this message]
[not found] <alsa-project/alsa-plugins/pr/66@alsa-project.org>
2026-09-21 0:12 ` Fix latency error check in pulse_delay() GitHub pull_request - opened
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18d72e9ad234f100-webhooks-bot@alsa-project.org \
--to=github@alsa-project.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox