From: Takashi Iwai <tiwai@suse.de>
To: Guilhem Tardy <guilhem_tardy@yahoo.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: prepare(substream)
Date: Fri, 21 Jun 2002 15:43:34 +0200 [thread overview]
Message-ID: <s5hofe4ags9.wl@alsa2.suse.de> (raw)
In-Reply-To: <20020619184915.27895.qmail@web11508.mail.yahoo.com>
At Wed, 19 Jun 2002 11:49:14 -0700 (PDT),
Guilhem Tardy wrote:
>
> I believe that I have misunderstood the meaning of this function, could anyone
> explain?
>
> In a test of a driver, I see this sequence for playback:
> pointer()
> copy()
> prepare()
> copy()
> pointer()
> copy()
> pointer()
> pointer()
> ...
usually prepare() callback is called at the first before copy() etc.
but please note that prepare() may be called multiple times.
for example, on oss emulation, each time when the condition like
sample format, rates is changed, prepare() is called to set the latest
status.
Takashi
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
prev parent reply other threads:[~2002-06-21 13:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 19:10 DMA: do all drivers need it? Guilhem Tardy
2002-05-04 11:41 ` Paul Davis
2002-05-06 15:47 ` Takashi Iwai
2002-06-19 18:49 ` prepare(substream) Guilhem Tardy
2002-06-20 2:35 ` prepare(substream) Paul Davis
2002-06-21 13:43 ` Takashi Iwai [this message]
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=s5hofe4ags9.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=guilhem_tardy@yahoo.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.