Commit graph

866 commits

Author SHA1 Message Date
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
735e5473e0 Fixed SIGSEGV based on thinkos 2001-06-18 14:43:46 +00:00
Jaroslav Kysela
25ad23d202 Working conf 2001-06-18 14:43:14 +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
Abramo Bagnara
2ced309ee8 Changed $(var) in $var 2001-06-18 13:34:11 +00:00
Jaroslav Kysela
9803257f70 More complicated example for tests 2001-06-18 12:02:33 +00:00
Jaroslav Kysela
fd8c75d112 Moved preloaded configuration files to the preload.filenames[] section. 2001-06-18 11:47:03 +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
158f7c20b0 Added more configurations and enhanced Trident NX conf 2001-06-18 08:02:57 +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
43455a9268 Some fixes. Added conf for trident 2001-06-16 09:40:20 +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
Abramo Bagnara
cf325c68e3 Simplified and fixed semantic 2001-06-15 11:49:19 +00:00
Jaroslav Kysela
58808e42b6 Initial version 2001-06-15 09:45:19 +00:00
Takashi Iwai
681f6ad7b0 fixed compile on ia64 and sparc 2001-06-15 09:30:49 +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
1b8d405606 redirect->refer
Removed the aliasing code (it was already in the search_alias function).
2001-06-14 09:47:44 +00:00
Jaroslav Kysela
2dd594a2f2 Reorganization 2001-06-13 12:56:38 +00:00
Jaroslav Kysela
355bb478e9 Search functions supports NULL result (check the presence) 2001-06-13 12:55:56 +00:00
Jaroslav Kysela
45cfa1405f Added support for direct alias 2001-06-13 12:55:00 +00:00
Jaroslav Kysela
396f8a12a2 Improvements against updated syntax 2001-06-13 09:40:34 +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
Jaroslav Kysela
61bf03ce70 New syntax for the substituted variables - $(var).
Improved the variable substitution (all references in a string are replaced).
Added special redirect loading code (to separate card dependant code to
single files).
2001-06-11 08:07:48 +00:00
Takashi Iwai
135461daeb Do not include asm/atomic.h on some architectures. 2001-06-08 12:17:51 +00:00
Takashi Iwai
3d2f333c6c Fixed seg. fault when invalid /etc/asound.conf is found. 2001-06-08 12:17:14 +00:00
Jaroslav Kysela
b36ee47006 Fixed typo 2001-06-08 10:20:27 +00:00
Jaroslav Kysela
b7c05ad942 Removed snd_defaults_ functions.
Updated the syntax of configuration file to substitute values from
the environment space.
Updated alsa.conf to replace old snd_defaults_ functions.
2001-06-08 10:15:25 +00:00
Takashi Iwai
5ce8fbeab5 Added comments for doxygen.
They are half-automated output from the 0.5.x documents.
The sequencer API will be changed in near future
to suit with encapsulation implemented already in pcm api,
so do not trust the comments added here..
They are just for reference.
2001-06-06 17:50:16 +00:00
Abramo Bagnara
3f0a94ed90 Fixed pointer mismatch 2001-06-06 14:20:29 +00:00
Abramo Bagnara
f563268fac Fixed strdup 2001-06-06 14:19:40 +00:00
Abramo Bagnara
82929cd852 Added iec958 PCM definition 2001-06-06 14:19:03 +00:00
Abramo Bagnara
31e403ce9d More work on pcm_hooks 2001-06-06 11:49:52 +00:00
Abramo Bagnara
7f651b3071 Added hooked PCM type (one sample hook implementation will follow). Some cleaning. 2001-06-04 18:04:18 +00:00
Abramo Bagnara
7f33541268 Compilation fixes for forthcoming GCC 3.0 2001-05-29 20:17:56 +00:00
Abramo Bagnara
f5534c46ed Completed parametric configuration and begun to use it 2001-05-22 09:19:43 +00:00
Abramo Bagnara
ecfec483a8 Fixed missing initialization 2001-05-19 20:41:25 +00:00
Abramo Bagnara
1d9bf33550 Added parametric configuration. Removed some memory leaks 2001-05-18 17:18:47 +00:00
Jaroslav Kysela
fe4d8fc072 0.9.0beta4 2001-05-14 17:12:39 +00:00
Jaroslav Kysela
8df53e998e More EMU10K1 fixes. 2001-05-14 15:50:09 +00:00
Abramo Bagnara
6cb24e0186 Added embedded/anonymous slave PCM definition 2001-05-14 15:44:37 +00:00
Jaroslav Kysela
00c749f080 Reverted back the previous read/write_areas code 2001-05-14 15:21:18 +00:00
Jaroslav Kysela
808fb82d1f Enhanced snd_pcm_mmap_read/write_areas to support the blocking behaviour.
Removed wrong asserts.
2001-05-14 14:31:45 +00:00
Jaroslav Kysela
711a344fa4 Added more Tone Control items to the sort tables 2001-05-14 14:29:19 +00:00
Jaroslav Kysela
f1a6bb270d Added EMU10K1 configuration 2001-05-14 14:26:38 +00:00
Jaroslav Kysela
22c689135e Enhanced code (use_fd) 2001-05-14 14:26:10 +00:00