Commit graph

18 commits

Author SHA1 Message Date
Takashi Iwai
21888c5f50 Add config and plugin directory options to configure
Added --with-configdir and --with-plugindir options to configure
which specify the directories for config files and plugin objects
respectively.  The default paths when these options are not
specified are unchanged.
2007-05-03 20:55:54 +02:00
Mike Frysinger
43b2802216 remove unneeded headers from alsa-lib/src/alisp/alisp.c
the alisp.c file includes wordexp.h even though it doesnt actually use any
wordexp functions ... causes trouble when target doesnt have wordexp
support :)

patch attached to scrub said headers

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2006-09-26 15:38:35 +02:00
Clemens Ladisch
4433248bf3 remove superfluous free() checks
free() correctly handles NULL pointers, so we can omit explicit checks
for that condition.
2006-02-27 09:58:32 +00:00
Takashi Iwai
9501520606 Fix compile warning
Fixed a compile warning with printf and size types.
2005-01-19 13:56:31 +00:00
Jaroslav Kysela
d0facfde2b ALISP update
- function names are more emacs-like
 - implemented (format) function
 - fixed numerous memory-leaks (valgrind is now happy)
Ordinary mixer
 - added the global view (using hdsp names only)
2003-12-23 16:42:55 +00:00
Jaroslav Kysela
4aec7396ff Fixed lisp for ordinary mixer API 2003-12-21 18:25:57 +00:00
Jaroslav Kysela
46ed2fc9e8 alisp update
- garbage collector is out (replaced with references and auto-free)
  - added serious test lisp code to detect memory leaks
  - fixme: alisp_snd.c code needs review (remove memory leaks)
2003-12-13 18:36:01 +00:00
Jaroslav Kysela
ab61b62cb4 More changes to the ordinary mixer API 2003-10-13 12:06:45 +00:00
Jaroslav Kysela
60585e25fc added snd_hctl_ctl() function
ordinary mixer:
  - revised Ordinary Mixer I/O type
  - sndo_mixer_open() take PCMs rather than strings to pass
    the real relationship
  - an initial version of toplevel alisp script
more alisp development:
  - renamed a* functions to A* functions (acall -> Acall etc.)
  - many improvements (unset*, exfun, Acall pcm_info, Asnderr, Asyserr)
2003-09-09 19:24:35 +00:00
Jaroslav Kysela
6ad93ac892 added snd_user_file() function
alisp extensions
  - added nth, include, path commands
  - added auto-exec functionality
  - added helpers for C<->lisp interoperability
2003-09-03 19:25:08 +00:00
Jaroslav Kysela
523b1eb92e alsalisp memory allocation optimization
- force of reusing alisp objects
  - added auto-garbage-collect mechanism
  - fixed bad garbage-collect (yes, the original code can free "running" lisp program)
  - hctl.lisp test example
    - reduced lisp object memory pool usage from 240kB to 29kB (auto-gc)
    - reduced --''-- from 29kB (auto-gc) to 9kB (manual gc)
FIXME: we need definitely an opminization for the alisp object lookups
       - use bsearch()?
2003-08-22 09:41:17 +00:00
Jaroslav Kysela
5efcf32772 alisp - implemented hctl_elem_read/write and find 2003-08-03 20:36:53 +00:00
Jaroslav Kysela
2699f5510b More alisp changes 2003-08-01 18:21:19 +00:00
Jaroslav Kysela
adbc93f1a4 More alisp extensions (card related functions, ctl_card_info). 2003-07-29 13:19:19 +00:00
Jaroslav Kysela
92093ae0fe Added snd_hctl_open_ctl() function.
alisp massive extensions and tested ALSA function bindings.
2003-07-27 20:20:26 +00:00
Jaroslav Kysela
b3e3c349ce Added float number support
Replaced 'int' with 'long' (integer type)
Improved garbage collect
2003-07-26 15:19:27 +00:00
Jaroslav Kysela
1097c437a1 Fixed some lisp bugs 2003-06-27 20:38:13 +00:00
Jaroslav Kysela
640ee8faa7 Initial code for lisp interpreter 2003-06-24 19:30:08 +00:00