Update of /cvsroot/alsa/alsa-lib/include In directory sc8-pr-cvs1:/tmp/cvs-serv13407/include
Modified Files: alisp.h global.h mixer_ordinary.h Log Message: added snd_user_file() function alisp extensions - added nth, include, path commands - added auto-exec functionality - added helpers for C<->lisp interoperability Index: alisp.h =================================================================== RCS file: /cvsroot/alsa/alsa-lib/include/alisp.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- alisp.h 27 Jul 2003 20:20:26 -0000 1.3 +++ alisp.h 3 Sep 2003 19:25:08 -0000 1.4 @@ -32,9 +32,22 @@ }; struct alisp_instance; +struct alisp_object; +struct alisp_seq_iterator; +struct alisp_cfg *alsa_lisp_default_cfg(snd_input_t *input); +void alsa_lisp_default_cfg_free(struct alisp_cfg *cfg); 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; +int alsa_lisp_function(struct alisp_instance *instance, struct alisp_seq_iterator **result, + const char *id, const char *args, ...) +#ifndef DOC_HIDDEN + __attribute__ ((format (printf, 4, 5))) +#endif + ; +int alsa_lisp_seq_first(struct alisp_instance *instance, const char *id, + struct alisp_seq_iterator **seq); +int alsa_lisp_seq_next(struct alisp_seq_iterator **seq); +int alsa_lisp_seq_count(struct alisp_seq_iterator *seq); +int alsa_lisp_seq_integer(struct alisp_seq_iterator *seq, long *val); +int alsa_lisp_seq_pointer(struct alisp_seq_iterator *seq, const char *ptr_id, void **ptr); Index: global.h =================================================================== RCS file: /cvsroot/alsa/alsa-lib/include/global.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- global.h 23 Jun 2003 07:51:14 -0000 1.20 +++ global.h 3 Sep 2003 19:25:08 -0000 1.21 @@ -119,12 +119,11 @@ int snd_async_handler_get_signo(snd_async_handler_t *handler); void *snd_async_handler_get_callback_private(snd_async_handler_t *handler); -/** - * \brief Internal structure for an IPC shm area manager. - */ struct snd_shm_area *snd_shm_area_create(int shmid, void *ptr); struct snd_shm_area *snd_shm_area_share(struct snd_shm_area *area); int snd_shm_area_destroy(struct snd_shm_area *area); + +int snd_user_file(const char *file, char **result); /** Timestamp */ typedef struct timeval snd_timestamp_t; Index: mixer_ordinary.h =================================================================== RCS file: /cvsroot/alsa/alsa-lib/include/mixer_ordinary.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mixer_ordinary.h 14 Jul 2003 10:21:46 -0000 1.3 +++ mixer_ordinary.h 3 Sep 2003 19:25:08 -0000 1.4 @@ -95,6 +95,7 @@ }; typedef struct sndo_mixer sndo_mixer_t; +struct alisp_cfg; #ifdef __cplusplus extern "C" { @@ -106,7 +107,7 @@ * \{ */ -int sndo_mixer_open(sndo_mixer_t **pmixer, const char *playback_name, const char *capture_name, snd_config_t *lconf); +int sndo_mixer_open(sndo_mixer_t **pmixer, const char *playback_name, const char *capture_name, struct alisp_cfg *lconf); int sndo_mixer_close(sndo_mixer_t *mixer); int sndo_mixer_poll_descriptors_count(sndo_mixer_t *mixer); int sndo_mixer_poll_descriptors(sndo_mixer_t *mixer, struct pollfd *pfds, unsigned int space); ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog