From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abramo Bagnara Subject: Re: changed snd_pcm_close() behaviour Date: Wed, 26 Jun 2002 20:29:49 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <3D1A081D.C1D86EE9@alsa-project.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id UAA17653 for ; Wed, 26 Jun 2002 20:30:24 +0200 Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jaroslav Kysela Cc: ALSA development List-Id: alsa-devel@alsa-project.org Jaroslav Kysela wrote: > > 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. Please don't forget to fix alsa-oss. -- Abramo Bagnara mailto:abramo@alsa-project.org Opera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy ALSA project http://www.alsa-project.org It sounds good! ------------------------------------------------------- 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