diff options
Diffstat (limited to 'src/control/control_hw.c')
-rw-r--r-- | src/control/control_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/control_hw.c b/src/control/control_hw.c index e9a6be27..c33d8ca9 100644 --- a/src/control/control_hw.c +++ b/src/control/control_hw.c @@ -421,7 +421,7 @@ int snd_ctl_hw_open(snd_ctl_t **handle, const char *name, int card, int mode) hw->fd = fd; hw->protocol = ver; - err = snd_ctl_new(&ctl, SND_CTL_TYPE_HW, name); + err = snd_ctl_new(&ctl, SND_CTL_TYPE_HW, name, mode); if (err < 0) { close(fd); free(hw); |