[alsa-devel] [alsa-cvslog] alsa-lib: Fix the state in snd_pcm_ioplug_pause()

Takashi Iwai tiwai at suse.de
Mon Feb 25 16:32:01 CET 2008


At Mon, 25 Feb 2008 16:29:51 +0100,
Thierry Vignaud wrote:
> 
> Takashi Iwai <tiwai at suse.de> 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


More information about the Alsa-devel mailing list