From: Ricardo Biehl Pasquali <pasqualirb@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Coherence of status structure after SYNC_PTR
Date: Thu, 27 Dec 2018 15:22:24 -0200 [thread overview]
Message-ID: <20181227172224.GA18933@localhost.localdomain> (raw)
In alsa-lib, pcm_hw, htimestamp(), avail is rechecked to
ensure a valid timestamp.
I guess this is for the case when status is mmaped, when
hardware pointer is read, an interrupt occur, and timestamp
is read.
Does SYNC_PTR ioctl always fill a coherent status?
Cheers!
pasquali
next reply other threads:[~2018-12-27 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-27 17:22 Ricardo Biehl Pasquali [this message]
2018-12-28 3:45 ` Coherence of status structure after SYNC_PTR Takashi Sakamoto
2018-12-28 4:21 ` Takashi Sakamoto
2018-12-28 16:28 ` Ricardo Biehl Pasquali
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=20181227172224.GA18933@localhost.localdomain \
--to=pasqualirb@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.