From: Takashi Iwai Subject: Re: [alsa-cvslog] alsa-lib: Fix the state in snd_pcm_ioplug_pause() Date: Mon, 25 Feb 2008 16:32:01 +0100 Message-ID: References: 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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id AAA1024389 for ; Mon, 25 Feb 2008 16:32:01 +0100 (CET) In-Reply-To: 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: Thierry Vignaud Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 25 Feb 2008 16:29:51 +0100, Thierry Vignaud wrote: > > Takashi Iwai writes: > > > changeset: 2423:7388ad3d21ea > > tag: tip > > user: tiwai > > date: Mon Feb 25 15:11:46 2008 +0100 > > files: src/pcm/pcm_ioplug.c > > description: > > Fix the state in snd_pcm_ioplug_pause() > > > > The states[] in snd_pcm_ioplug_pause() has wrong values. They should be > > swapped. ALSA bug#3796: > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3796 > > Aren't some bits missing from this bug report? (s/o->data->state = > states[enable]/io->data->state = states[prev]) No, the current code is correct. Takashi