Commit graph

29 commits

Author SHA1 Message Date
Jaroslav Kysela
853304bbf4 Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
Jaroslav Kysela
d10bcbf76d Added snd_config_load_override().
Fixed problem with EOF detection in freestring parser.
Fixed problem with run-time argument parsing (snd_config_load()->snd_config_load_override() replace).
Added more documentation for configuration run-time arguments and hooks.
Fixed the behaviour of snd_config_search_definition() - implicit and explicit base.
2002-01-09 21:28:15 +00:00
Jaroslav Kysela
3e3df2d32b Updated GNU GPL license (address).
Changed GNU LGPL licence from 2.0 to 2.1.
2001-12-30 09:22:54 +00:00
Jaroslav Kysela
9a6902d8a4 Added snd_config_update_free_global().
Added snd_config_delete_compound_members().
'const' changes.
Fixed memory leaks.
2001-12-15 19:50:36 +00:00
Jaroslav Kysela
2fe0d1995c Cleanups 2001-11-26 13:39:15 +00:00
Jaroslav Kysela
f9756e6efd Added snd_config_imake_* functions. 2001-11-24 18:29:15 +00:00
Jaroslav Kysela
c33c5760ab Added snd_*_open_lconf functions.
Some minor changes in config interface documentation.
2001-11-24 17:47:01 +00:00
Jaroslav Kysela
c39882f602 Configuration:
- changed snd_config_get_id function to follow semantic of other get functions
  - added snd_config_test_id
  - added runtime pointer type (not persistent)
    - added snd_config_make_pointer, snd_config_set_pointer, snd_config_get_pointer
  - added type/contents checking for callback functions
    - changed 'void *private_data' to 'snd_config_t *private_data'
  - renamed card_strtype functions to card_driver
Control:
  - fixed passing parameters to snd_ctl_async
Async handlers:
  - added public snd_async_handler_get_signo function
Documentation:
  - moved all documentation to source files
2001-11-19 08:14:21 +00:00
Jaroslav Kysela
27472b56a6 Changes for static build. 2001-10-24 14:14:11 +00:00
Jaroslav Kysela
58345ae4f4 Separated asoundlib.h to small files. 2001-09-13 11:38:32 +00:00
Jaroslav Kysela
b45c08611c Added symbol versioning for dlsym-callbacks.
Removed snd_config_refer_load from confmisc.c and pcm.c.
2001-08-15 12:12:16 +00:00
Jaroslav Kysela
18a02e6f6d Added snd_func_private_string.
Changed snd_config_hook_load_for_all_cards (to load also aliases).
Changed snd_config_search_alias routines (to follow aliases also in the middle of path).
2001-06-26 15:27:40 +00:00
Jaroslav Kysela
25947ba008 Reorganized configuration files (card->type removal). 2001-06-24 23:16:17 +00:00
Jaroslav Kysela
bc581b87ae Added snd_config_hook_load_for_all_cards.
Added private_data parameter for snd_config_hooks function.
Fixed the return value mess in the config parser routines.
The include file could begin with 'confdir:' which is replaced with /usr/share/alsa.
The snd_config_search_definitions looks for raw name at first (without suggested root).
Added snd_func_private_card_strtype function.
All configuration files moved to the src/conf directory.
Configuration files modified to use load-on-demand feature using hooks.
2001-06-21 13:41:50 +00:00
Jaroslav Kysela
1c14c13c96 macro->refer
Added the @hooks code...
2001-06-20 13:37:19 +00:00
Jaroslav Kysela
b811df2efe Added missing defaults to alsa.conf.
Function snd_func_macro is now an alias to snd_func_refer.
2001-06-20 10:30:18 +00:00
Jaroslav Kysela
0c5b3434a8 Added snd_func_macro and added 'defaults.*' definitions to alsa.conf.
Changed arguments CARD to string (to accept card IDs).
Enhanced function card_strtype to accept card IDs.
2001-06-19 11:52:50 +00:00
Jaroslav Kysela
455edb9e21 Ok, back to use '@func refer' inside alsa.conf (following Abramo's
interpellation).
2001-06-19 10:36:31 +00:00
Jaroslav Kysela
3a993b4a3e Removed snd_config_string_replace function.
Added back modified snd_config_refer_load function.
Added snd_func_private_pcm_subdevice function.
Removed the callback from the snd_sctl_build function (no more required).
Modified alsa.conf to use refer {} blocks again.
Modified card specific conf files to use new snd_func_private_pcm_subdevice function.
2001-06-18 14:14:49 +00:00
Jaroslav Kysela
9e9e10c1bd Optimized index-search functions 2001-06-18 11:44:45 +00:00
Abramo Bagnara
f1fe5d5fb2 Renamed envname -> vars 2001-06-18 08:45:18 +00:00
Jaroslav Kysela
1e0c53a11c Added context handling for snd_config_expand.
PCM slave configuration is now dynamic.
2001-06-16 22:03:23 +00:00
Abramo Bagnara
0347bf5438 Typo 2001-06-16 08:31:31 +00:00
Abramo Bagnara
a4768a7b10 Simplified evaluation using snd_config_walk. Fixed implementation 2001-06-16 08:19:15 +00:00
Abramo Bagnara
92b0581c33 Converted @refer special case in ordinary @func. Removed @type 2001-06-15 16:09:56 +00:00
Abramo Bagnara
54daf2f16d Extended parameterization. Marked with @ all fields with special use 2001-06-15 14:00:19 +00:00
Jaroslav Kysela
977a9a33f0 * Cleaned the alsa.conf syntax:
- added pcm.front, pcm.rear, pcm.center_lfe blocks
* Added configuration for EMU10K1 (it's fully working one!!!)
* snd_config_redirect_load->snd_config_refer_load rename
* snd_config_search_alias code change (works also with pairs base.key)
* cleanups in the evaluate function (the function prototype has been changed)
2001-06-15 08:47:59 +00:00
Jaroslav Kysela
5c3075d32f Enhanced configuration syntax (added [ ] block for arrays).
The snd_config_expand functions expands the runtime contents (@func...).
Removed the environment variable replace code from the configuration parser.
Updated the alsa.conf configuration file.
2001-06-13 09:31:05 +00:00
Jaroslav Kysela
bf780a25a5 Added argument handling for the slave PCMs.
The configuration root (snd_config) can be specified for the internal routines.
The pcm_hooks code was recoded (independent code moved to control/setup.c).
Improved the pcm_multi plugin (added master configuration).
2001-06-11 13:35:48 +00:00