From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hynek Hanke Subject: Re: snd_pcm_drain() always fails Date: Mon, 1 Aug 2005 20:36:37 +0200 Message-ID: <20050801183637.GF10144@brailcom.cz> References: <20050801172719.GB10144@brailcom.cz> <20050801181015.GE10144@brailcom.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id C59AF176 for ; Mon, 1 Aug 2005 20:39:49 +0200 (MEST) Content-Disposition: inline In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org > Set avail_min swparams to the buffer size so that poll() won't return > unless the full buffer size becomes free (i.e. all samples are > played). This would mean, if I understand correctly, that I always send more data only after the buffer is already empty. Won't that cause unwanted effects (underrruns etc.)? With regards, Hynek Hanke ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click