alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Alan Young <Alan.Young@IEE.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] pcm_dshare: Do not discard slave reported delay in status result.
Date: Thu, 17 Nov 2016 15:21:27 +0100	[thread overview]
Message-ID: <s5hbmxew5js.wl-tiwai@suse.de> (raw)
In-Reply-To: <67297312-c4f9-e47d-4b58-893ddb55d2c8@IEE.org>

On Thu, 17 Nov 2016 15:18:04 +0100,
Alan Young wrote:
> 
> On 17/11/16 10:31, Takashi Iwai wrote:
> > On Thu, 17 Nov 2016 09:20:16 +0100,
> > Alan Young wrote:
> >> snd_pcm_dshare_status() gets the underlying status from the slave PCM.
> >> This may contain a delay value that includes elements such as codec and
> >> other transfer delays. Use this as the base for the returned delay
> >> value, adjusted for any frames buffered locally (within the dshare
> >> plugin).
> >>
> >> Note: snd_pcm_dshare_delay() is not updated.
> > Thanks for the patch, but it doesn't look like a proper patch to be
> > applied to the latest git tree.  I guess you created a patch on top of
> > the modified tree.
> >
> > Please rebase and resubmit.
> >
> > Also, don't forget to add your sign-off.  We prefer having it in
> > alsa-lib code like the kernel code (although it's not strictly
> > needed).
> 
> I can add a signoff but first I need to understand what is wrong with
> the patch.
> 
> I did a git pull of master from
> git://git.alsa-project.org/alsa-lib.git, committed my patch on top
> (previous commit a668a94238d: "mixer: Don't install smixer modules
> unless python is enabled") and did a git format-patch to generate the
> supplied patch. What did I do wrong?

Try a clean alsa-lib.git checkout and apply your patch manually there.
Then you'll see what I meant.


Takashi

  reply	other threads:[~2016-11-17 14:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 14:30 Accurate delay reporting from dshare Alan Young
2016-10-27 10:52 ` Takashi Iwai
2016-11-02 14:17   ` Alan Young
2016-11-02 17:34     ` Alan Young
2016-11-17  8:20       ` [PATCH] pcm_dshare: Do not discard slave reported delay in status result Alan Young
2016-11-17 10:31         ` Takashi Iwai
2016-11-17 14:18           ` Alan Young
2016-11-17 14:21             ` Takashi Iwai [this message]
2016-11-17 14:35               ` Alan Young
2016-11-17 15:12                 ` Takashi Iwai
2016-11-17 15:18                   ` Alan Young
2016-11-17 15:20                     ` Takashi Iwai

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=s5hbmxew5js.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Alan.Young@IEE.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;
as well as URLs for NNTP newsgroup(s).