All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Guilhem Tardy <guilhem_tardy@yahoo.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: playback audio overwritten before it is sent to the card
Date: Tue, 30 Jul 2002 17:39:32 +0200	[thread overview]
Message-ID: <s5hsn218bt7.wl@alsa2.suse.de> (raw)
In-Reply-To: <20020730151916.59073.qmail@web11508.mail.yahoo.com>

At Tue, 30 Jul 2002 08:19:16 -0700 (PDT),
Guilhem Tardy wrote:
> 
> > basically, prepare callback is called only from snd_pcm_prepare() in
> > pcm_native.c, i.e. only via ioctl.  (or, in the case of OSS emulation,
> > via snd_pcm_oss_prepare(), which can be called multiple times at each
> > change of configuration).
> 
> The configuration doesn't change. I play a test file, that's it.

as mentioned shortly, oss emulation may call prepare multiple times.
since the oss driver changes the configuration by calling ioctls many
times, e.g. one for sample rate, one for sample format, etc., at each
time these ioctls are called, prepare callback is called, too, to
reflect the change of configuration.

 
Takashi


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

  parent reply	other threads:[~2002-07-30 15:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-26 15:28 playback audio overwritten before it is sent to the card Guilhem Tardy
2002-07-26 20:51 ` Guilhem Tardy
2002-07-30 15:03   ` Takashi Iwai
     [not found]     ` <20020730151916.59073.qmail@web11508.mail.yahoo.com>
2002-07-30 15:39       ` Takashi Iwai [this message]
2002-07-30 19:07     ` success (WAS: playback audio overwritten before it is sent to the card) Guilhem Tardy
2002-08-16 22:12     ` PCM ioctls Guilhem Tardy
2002-08-17 11:59       ` Paul Davis
2002-08-16 22:47     ` ADPCM 16kbps and other formats Guilhem Tardy

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=s5hsn218bt7.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.