mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added mode argument to open functions where it was missing. First part of CTL documentation
This commit is contained in:
parent
4bee8c5678
commit
7893ea238d
21 changed files with 570 additions and 276 deletions
|
|
@ -499,7 +499,7 @@ int ctl_shm_open(client_t *client, int *cookie)
|
|||
snd_ctl_t *ctl;
|
||||
int err;
|
||||
int result;
|
||||
err = snd_ctl_open(&ctl, client->name);
|
||||
err = snd_ctl_open(&ctl, client->name, SND_CTL_NONBLOCK);
|
||||
if (err < 0)
|
||||
return err;
|
||||
client->device.control.handle = ctl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue