diff options
author | Jaroslav Kysela <perex@perex.cz> | 2009-05-12 08:05:50 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2009-05-15 14:18:15 +0200 |
commit | ecd6846c88d24f2a03895115b8ebf50679af69f3 (patch) | |
tree | 6880963798e200e7dcc3ef962e0149434bf709b1 /src/control/control_ext.c | |
parent | 3e30007a19a0904ad7c8965b0883322639e52b82 (diff) | |
download | alsa-lib-amixer.tar.gz |
Initial amixer implementation + ctl & hctl API mergingamixer
This patch adds new mixer API which simplifies the previous mixer
API (removed mixer class).
The control and hcontrol APIs were merged into one.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'src/control/control_ext.c')
-rw-r--r-- | src/control/control_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/control_ext.c b/src/control/control_ext.c index d1fe8eaa..1f46f6ee 100644 --- a/src/control/control_ext.c +++ b/src/control/control_ext.c @@ -665,7 +665,7 @@ int snd_ctl_ext_create(snd_ctl_ext_t *ext, const char *name, int mode) return -ENXIO; } - err = snd_ctl_new(&ctl, SND_CTL_TYPE_EXT, name); + err = snd_ctl_new(&ctl, SND_CTL_TYPE_EXT, name, mode); if (err < 0) return err; |