From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: playback audio overwritten before it is sent to the card Date: Tue, 30 Jul 2002 17:39:32 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20020730151916.59073.qmail@web11508.mail.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20020730151916.59073.qmail@web11508.mail.yahoo.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Guilhem Tardy Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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