2000-07-28 20:21:12 +00:00
|
|
|
/*
|
|
|
|
|
* 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.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2000-08-11 19:28:43 +00:00
|
|
|
#include "list.h"
|
|
|
|
|
|
2000-07-28 20:21:12 +00:00
|
|
|
struct snd_ctl {
|
|
|
|
|
int card;
|
|
|
|
|
int fd;
|
2000-08-11 19:28:43 +00:00
|
|
|
int hcount;
|
|
|
|
|
int herr;
|
|
|
|
|
struct list_head hlist; /* list of all controls */
|
|
|
|
|
void *hroot; /* root of controls */
|
|
|
|
|
void *hroot_new; /* new croot */
|
|
|
|
|
snd_ctl_hsort_t *hsort;
|
|
|
|
|
snd_ctl_hcallback_rebuild_t *callback_rebuild;
|
2000-07-28 20:21:12 +00:00
|
|
|
void *callback_rebuild_private_data;
|
2000-08-11 19:28:43 +00:00
|
|
|
snd_ctl_hcallback_add_t *callback_add;
|
2000-07-28 20:21:12 +00:00
|
|
|
void *callback_add_private_data;
|
|
|
|
|
};
|