All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Stefano Panella <stefano.panella@citrix.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: paravirtualized alsa kernel driver for XEN
Date: Wed, 21 Mar 2012 14:37:56 +0100	[thread overview]
Message-ID: <4F69D9B4.9000909@ladisch.de> (raw)
In-Reply-To: <4F69AA8B.3080409@citrix.com>

Stefano Panella wrote:
> On 20/03/12 13:10, Clemens Ladisch wrote:
> > The delay between the DMA and the DAC output would be reported by
> > adjusting runtime->delay, but drivers usually do not bother to do this,
> > except when this delay becomes rather large because of additional
> > queueing, e.g., in the USB driver.
>
> ok, I was wondering about applications like skype, trying to do some
> background noise cancellation, or to eliminate echo when using speakers.
> I was thinking in this case the delay should be accurate for Playback
> and Capture as well, or am I wrong?

If the sound data is regularly moved from the VM's buffer to the host's
buffer, then the additional latency of the host is big enough that it's
worth reporting.

If you map the host's buffer into the VM's address space, there is no
additional latency, but I don't know if this is feasible.  If not, you
could also use the pcm_ops.copy callback to copy the data from the VM
to the host as soon as the application writes it.

> Who is currently the linux kernel alsa driver mantainer?

See "SOUND" in the MAINTAINERS file.


Regards,
Clemens

  reply	other threads:[~2012-03-21 13:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 17:15 paravirtualized alsa kernel driver for XEN Stefano Panella
2012-03-20  9:52 ` David Henningsson
2012-03-21 10:11   ` Stefano Panella
2012-03-20 13:10 ` Clemens Ladisch
2012-03-21 10:16   ` Stefano Panella
2012-03-21 13:37     ` Clemens Ladisch [this message]
2012-03-22 11:22       ` Stefano Panella
2012-03-22 12:09         ` Clemens Ladisch
2012-04-11 17:08           ` Stefano Panella
2012-04-11 18:41             ` Clemens Ladisch

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=4F69D9B4.9000909@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=stefano.panella@citrix.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 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.