Hi all, after discussion with Takashi and others on this list, the behaviour of snd_pcm_close() function has been changed in this way:
The stream is stoped and all samples (if any) are droped. It means, that if the user space code wants to flush samples to output, the snd_pcm_drain() function must be called before the snd_pcm_close() call. I hope that this change doesn't cause any problems in any application. Anyway, please, report all problems. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel