From: Takashi Iwai Subject: Re: Re: No snd_pcm_resume_all() ? Date: Tue, 18 Apr 2006 20:10:33 +0200 Message-ID: References: <1145321918.4705.4.camel@localhost.localdomain> <1145382922.4116.81.camel@localhost> <1145383590.4116.83.camel@localhost> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx1.suse.de (ns1.suse.de [195.135.220.2]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 964E2183 for ; Tue, 18 Apr 2006 20:10:33 +0200 (MEST) In-Reply-To: <1145383590.4116.83.camel@localhost> 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: Johannes Berg Cc: Benjamin Herrenschmidt , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 18 Apr 2006 20:06:30 +0200, Johannes Berg wrote: > > On Tue, 2006-04-18 at 20:05 +0200, Takashi Iwai wrote: > > > We cannot freeze the running user process at the very same moment the > > driver's suspend callback is called... > > Yeah but we can freeze the pcm before the app, so for the app it's just > as though there was a small pause/hiccup/whatever That's the point. The resume is handled just like another type of xrun, which requires a recover. So, the app needs to know what is going on. Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642