mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -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;
|
||||
return 0;
|
||||
}
|
||||
str->setup.stream = setup->stream;
|
||||
if ((err = pcm->ops->stream_setup(pcm, &str->setup)) < 0)
|
||||
return err;
|
||||
*setup = str->setup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue