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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel