All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Duncan <rduncan@tesla.com>
To: alsa-devel@alsa-project.org
Subject: snd_pcm_ioplug_avail_update() confusion
Date: Tue, 17 Oct 2017 23:03:57 -0700	[thread overview]
Message-ID: <dw77emh8ux0z76.fsf@tesla.com> (raw)

I'm working on an external IO plugin based on ioplug and I'm confused
about the behavior of snd_pcm_ioplug_avail_update().  Specifically this
call (src/pcm/pcm_ioplug.c:657):

    result = io->data->callback->transfer(io->data, areas, offset, size);

Why isn't there a subsequent call to snd_pcm_mmap_appl_forward() like
there is in ioplug_priv_transfer_areas()?  It seems that without such a
call the captured data will be lost, or have I missed something?

Thanks,

Rob.

             reply	other threads:[~2017-10-18  6:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18  6:03 Rob Duncan [this message]
2017-10-24 19:50 ` snd_pcm_ioplug_avail_update() confusion 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=dw77emh8ux0z76.fsf@tesla.com \
    --to=rduncan@tesla.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.