From: Takashi Iwai Subject: Re: Third time: Unlink PCM resource ? Date: Tue, 26 May 2009 10:17:41 +0200 Message-ID: References: <4A1AB98B.9010604@yellowcouch.org> <4A1ADAEF.3070803@yellowcouch.org> <4A1AE302.8080702@yellowcouch.org> <4A1BA500.2080907@yellowcouch.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D4F622467C for ; Tue, 26 May 2009 10:17:41 +0200 (CEST) In-Reply-To: <4A1BA500.2080907@yellowcouch.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Werner Van Belle Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Tue, 26 May 2009 10:14:56 +0200, Werner Van Belle wrote: > > Takashi Iwai wrote: > > OK, in a case without exec, we need an explicit call. > > But I guess snd_pcm_close() isn't appropriate (as Werner experienced) > > since it calls snd_pcm_drop() there. I guess this call isn't needed > > as the driver itself takes care? > > > You mean: modifying the snd_pcm_close routine to not call snd_pcm_drop ? Yes. > I guess that might work as well to solve my problem. > Will such a fix appear in a new alsa release ? We need more tests :) I might overlook something. Takashi