From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: proper suspend / resume for PCM streams Date: Tue, 16 Aug 2005 11:00:14 -0400 Message-ID: <1124204415.25596.1.camel@mindpipe> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mustang.oldcity.dca.net (mustang.oldcity.dca.net [216.158.38.3]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with SMTP id 191E61FD for ; Tue, 16 Aug 2005 17:00:17 +0200 (MEST) 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: Takashi Iwai , ALSA development List-Id: alsa-devel@alsa-project.org On Tue, 2005-08-16 at 13:33 +0200, Jaroslav Kysela wrote: > Okay, the error code carries the state information, but the point is > that the application should do necessary things in this stage like: > > 1) try recovery from resume and continue (standard players) > 2) stop the stream and tell to the user that he/she is stupid to do > such things for live performance (for example JACK will do it ;-)) > > The point is that the application must decide what to do with this > state. > I think 2) is broken anyway. JACK should keep going like any other app. suspend/resume should just look like an xrun. I would expect to be able to suspend/resume while using ASIO apps on Windows. What if the neighbors complain, so you have to move band practice to another room quickly? Lee ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf