All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Cussins <timcussins@eml.cc>
To: Takashi Iwai <tiwai@suse.de>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: proposal: snd_pcm_start_at()
Date: Tue, 07 Oct 2014 13:48:47 +0100	[thread overview]
Message-ID: <5433E12F.70305@eml.cc> (raw)
In-Reply-To: <s5h61fxzg2y.wl-tiwai@suse.de>

Hi Takashi,

On 06/10/14 10:45, Takashi Iwai wrote:
> At Fri, 03 Oct 2014 17:24:22 -0500,
> Pierre-Louis Bossart wrote:
>>
>> On 10/3/14, 7:00 AM, Tim Cussins wrote:
>>> Hi Peirre,
>>>

>>> The pcm hardware for the new platform can start rendering when a compare
>>> register matches a hw counter (driven by the audio clock). This allows
>>> for starting with frame-accurate timing.
>>
>> Interesting. I wonder if you actually need a new extension for this, you
>> could write the timestamp in an ALSA control and implement your .trigger
>> function by using the contents of the control, i.e. delay the actual
>> start. it wouldn't be generic but your hardware isn't either.
>
> Well, your suggestion sounds really tricky.  The trigger is supposed
> to trigger the stream immediately, and the delay isn't considered
> there in principle.  The system can work with delays, but it's not in
> a form of the initial design.
>
> I think some synchronized triggering mechanism is missing in API, too.
> There has been a similar request from others in the past (Digigram
> wanted to have such a feature), so maybe it's not so uncommon
> scenario.
>
> This would be a good topic to be discussed in the upcoming audio
> mini-summit, but both of you won't be there, right?
>

I didn't have any plans to be at the mini-summit, but Glasgow isn't too 
far away...

>
> Takashi
>

  reply	other threads:[~2014-10-07 12:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 14:34 proposal: snd_pcm_start_at() Tim Cussins
2014-10-02 17:41 ` Pierre-Louis Bossart
2014-10-03 12:00   ` Tim Cussins
2014-10-03 22:24     ` Pierre-Louis Bossart
2014-10-06  9:45       ` Takashi Iwai
2014-10-07 12:48         ` Tim Cussins [this message]
2014-10-08 14:18         ` Mark Brown
2014-10-08 15:29           ` Takashi Iwai
2014-10-08 16:09             ` Tim Cussins
2014-10-08 20:16               ` Mark Brown
2014-10-09  9:20                 ` Tim Cussins
2014-10-10 19:50                   ` Nick Stoughton

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=5433E12F.70305@eml.cc \
    --to=timcussins@eml.cc \
    --cc=alsa-devel@alsa-project.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.de \
    /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.