Added snd_hctl_open_ctl() function.

alisp massive extensions and tested ALSA function bindings.
This commit is contained in:
Jaroslav Kysela 2003-07-27 20:20:26 +00:00
parent 6a543d8e20
commit 92093ae0fe
11 changed files with 575 additions and 128 deletions

View file

@ -29,11 +29,12 @@ struct alisp_cfg {
snd_output_t *vout; /* verbose output */
snd_output_t *wout; /* warning output */
snd_output_t *dout; /* debug output */
snd_config_t *root;
snd_config_t *node;
};
int alsa_lisp(struct alisp_cfg *cfg);
struct alisp_instance;
int alsa_lisp(struct alisp_cfg *cfg, struct alisp_instance **instance);
void alsa_lisp_free(struct alisp_instance *instance);
extern struct alisp_object alsa_lisp_nil;
extern struct alisp_object alsa_lisp_t;

View file

@ -450,6 +450,7 @@ typedef int (*snd_hctl_elem_callback_t)(snd_hctl_elem_t *elem,
unsigned int mask);
int snd_hctl_open(snd_hctl_t **hctl, const char *name, int mode);
int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl);
int snd_hctl_close(snd_hctl_t *hctl);
int snd_hctl_nonblock(snd_hctl_t *hctl, int nonblock);
int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl);