From: Zeno Endemann <zeno.endemann@mailbox.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Cezary Rojewski <cezary.rojewski@intel.com>,
Christian Brauner <brauner@kernel.org>,
Mark Brown <broonie@kernel.org>,
Pavel Hofman <pavel.hofman@ivitera.com>,
David Howells <dhowells@redhat.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@linux.intel.com>,
Kai Vehmanen <kai.vehmanen@linux.intel.com>
Subject: Re: [PATCH] ALSA: core: Remove trigger_tstamp_latched
Date: Tue, 13 Aug 2024 14:54:42 +0200 [thread overview]
Message-ID: <c2a46079-b9fa-46fb-8d2d-e01e5d620ea7@mailbox.org> (raw)
In-Reply-To: <8c71ea3d-5c97-423e-a270-3184c16e1603@linux.intel.com>
Pierre-Louis Bossart wrote on 13.08.24 10:04:
> by focusing on the trigger timestamp I think you're looking at the wrong
> side of the problem. The timestamping is improved by using the same
> hardware counter for the trigger AND regular timestamp during
> playback/capture. If you look at a hardware counter during
> playback/capture but the start position is recorded with another method,
> would you agree that there's a systematic non-reproducible offset at
> each run? You want the trigger and regular timestamps to be measured in
> the same way to avoid measurement differences.
I am not sure what you are talking about. I have not seen any place in the
code where the trigger timestamp is taken in any other more sophisticated
way than what the default is doing, i.e. calling snd_pcm_gettime. So I do
not see how your custom *trigger* timestamps are done "with another method".
> I will not disagree that most applications do not need precise
> timestamping, but if you want to try to enable time-of-flight
> measurements for presence or gesture detection you will need higher
> sampling rates and micro-second level accuracy.
I don't know, this sounds very theoretical at best to me. However I do not
have the desire to try to further argue and convince you otherwise.
Do you want to propose a different solution for the stop trigger timestamp
bug? That is my main goal after all.
next prev parent reply other threads:[~2024-08-13 12:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 14:20 [PATCH] ALSA: core: Remove trigger_tstamp_latched Zeno Endemann
2024-08-12 17:25 ` Pierre-Louis Bossart
2024-08-12 21:05 ` Zeno Endemann
2024-08-13 8:04 ` Pierre-Louis Bossart
2024-08-13 12:54 ` Zeno Endemann [this message]
2024-08-13 13:41 ` Takashi Iwai
2024-08-13 13:58 ` Zeno Endemann
2024-08-13 14:05 ` Takashi Iwai
2024-08-21 14:27 ` Zeno Endemann
2024-08-21 14:44 ` Takashi Iwai
2024-08-21 14:59 ` Jaroslav Kysela
2024-08-21 15:05 ` Takashi Iwai
2024-08-21 15:09 ` Jaroslav Kysela
2024-08-21 16:04 ` Zeno Endemann
2024-08-13 9:26 ` Takashi Iwai
2024-08-13 10:41 ` Zeno Endemann
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=c2a46079-b9fa-46fb-8d2d-e01e5d620ea7@mailbox.org \
--to=zeno.endemann@mailbox.org \
--cc=brauner@kernel.org \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=dhowells@redhat.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=pavel.hofman@ivitera.com \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=ranjani.sridharan@linux.intel.com \
--cc=tiwai@suse.com \
--cc=yung-chuan.liao@linux.intel.com \
/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