diff options
author | Jaroslav Kysela <perex@perex.cz> | 2000-07-28 20:21:12 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2000-07-28 20:21:12 +0000 |
commit | f5d6fdeba83179530a95be2821b859a2befc8d0e (patch) | |
tree | 0cd318333473daeced919675db2f154861524dfc /src/control/control_local.h | |
parent | 72fa3cc203ce3ab56e2d52737730f22765c32e09 (diff) |
More control/mixer API updates.
Added highlevel control layer.
Recoded simple control mixer API.
Diffstat (limited to 'src/control/control_local.h')
-rw-r--r-- | src/control/control_local.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/control/control_local.h b/src/control/control_local.h new file mode 100644 index 00000000..45d0ad6c --- /dev/null +++ b/src/control/control_local.h @@ -0,0 +1,34 @@ +/* + * Control Interface - local header file + * Copyright (c) 2000 by Jaroslav Kysela <perex@suse.cz> + * + * + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +struct snd_ctl { + int card; + int fd; + int ccount; + int cerr; + snd_hcontrol_t *cfirst; + snd_hcontrol_t *clast; + snd_ctl_csort_t *csort; + snd_ctl_ccallback_rebuild_t *callback_rebuild; + void *callback_rebuild_private_data; + snd_ctl_ccallback_add_t *callback_add; + void *callback_add_private_data; +}; |