mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed missing stream setting
This commit is contained in:
parent
bc252d4d26
commit
a983321c27
1 changed files with 1 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ int snd_pcm_stream_setup(snd_pcm_t *pcm, snd_pcm_stream_setup_t *setup)
|
||||||
*setup = str->setup;
|
*setup = str->setup;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
str->setup.stream = setup->stream;
|
||||||
if ((err = pcm->ops->stream_setup(pcm, &str->setup)) < 0)
|
if ((err = pcm->ops->stream_setup(pcm, &str->setup)) < 0)
|
||||||
return err;
|
return err;
|
||||||
*setup = str->setup;
|
*setup = str->setup;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue