From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuliano Pochini Subject: Re: simple PCM helper function Date: Sat, 14 Jan 2006 21:48:17 +0000 Message-ID: <20060114214817.1de4b094.pochini@shiny.it> References: <43C28D90.10103@superbug.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from vsmtp3alice.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 590CA132 for ; Sat, 14 Jan 2006 22:48:26 +0100 (MET) 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: Jaroslav Kysela Cc: James@superbug.co.uk, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, 10 Jan 2006 13:26:58 +0100 (CET) Jaroslav Kysela wrote: > You must also add a new function "snd_pcm_check_for_space()" or something > like this. The app callback will be called from this function. Also, the > app callback function should probably take same parameters as > snd_pcm_mmap_begin() handles (areas, offset), because we support more > ring buffer organization schemes. > > So, to all others, is this mechanism worth to implement? IMHO they should be as simple as possible. I thing the first proposal is more obvious and straightforward. That callback mechanism just moves the complexity somewhere else. -- Giuliano. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click