From: Abramo Bagnara Date: Mon, 12 Jun 2000 21:55:47 +0000 (+0000) Subject: Fixed missing stream setting X-Git-Tag: v1.0.3~1228 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a983321c2790dfb14c8e843f222d3bb1f4054058;p=alsa-lib.git Fixed missing stream setting --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 0ce3a349..882acf0b 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -168,6 +168,7 @@ int snd_pcm_stream_setup(snd_pcm_t *pcm, snd_pcm_stream_setup_t *setup) *setup = str->setup; return 0; } + str->setup.stream = setup->stream; if ((err = pcm->ops->stream_setup(pcm, &str->setup)) < 0) return err; *setup = str->setup;