Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Rob Sykes <aquegg@yahoo.co.uk>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: pcm_rate API  question
Date: Fri, 27 Sep 2013 14:38:23 +0200	[thread overview]
Message-ID: <52457C3F.5090003@ladisch.de> (raw)
In-Reply-To: <1380283173.50500.YahooMailNeo@web171404.mail.ir2.yahoo.com>

Rob Sykes wrote:
>         void (*convert_s16)(void *obj, int16_t *dst, unsigned int dst_frames,
>                             const int16_t *src, unsigned int src_frames);
>
> is the plugin obliged always to consume src_frames and generate dst_frames samples?

Yes.  src_frames and dst_frames are the period sizes of the respective
devices; their values will never change, and they define the actual
conversion ratio.


Regards,
Clemens

  reply	other threads:[~2013-09-27 12:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27 11:59 pcm_rate API question Rob Sykes
2013-09-27 12:38 ` Clemens Ladisch [this message]
     [not found]   ` <1380295697.44147.YahooMailNeo@web171405.mail.ir2.yahoo.com>
2013-09-28  9:58     ` Rob Sykes
2013-09-30  8:59       ` Clemens Ladisch
2013-09-30 11:15         ` Rob Sykes
2013-09-30 14:16           ` 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=52457C3F.5090003@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=aquegg@yahoo.co.uk \
    /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