Jaroslav Kysela [Tue, 26 Jun 2001 15:27:40 +0000 (15:27 +0000)]
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).
Jaroslav Kysela [Thu, 21 Jun 2001 13:41:50 +0000 (13:41 +0000)]
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.
Takashi Iwai [Wed, 20 Jun 2001 15:32:36 +0000 (15:32 +0000)]
Use route slave pcm instead of plug.
If you need to play 8 or 16bit data on the first two channels, you can do
even like this:
aplay -Dplug:front foo.wav
Jaroslav Kysela [Tue, 19 Jun 2001 11:52:50 +0000 (11:52 +0000)]
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.
Jaroslav Kysela [Mon, 18 Jun 2001 14:14:49 +0000 (14:14 +0000)]
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.
Jaroslav Kysela [Fri, 15 Jun 2001 08:47:59 +0000 (08:47 +0000)]
* 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)
Jaroslav Kysela [Wed, 13 Jun 2001 09:31:05 +0000 (09:31 +0000)]
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.
Jaroslav Kysela [Mon, 11 Jun 2001 13:35:48 +0000 (13:35 +0000)]
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).
Jaroslav Kysela [Mon, 11 Jun 2001 08:07:48 +0000 (08:07 +0000)]
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).
Jaroslav Kysela [Fri, 8 Jun 2001 10:15:25 +0000 (10:15 +0000)]
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.
Takashi Iwai [Wed, 6 Jun 2001 17:50:16 +0000 (17:50 +0000)]
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.
Jaroslav Kysela [Thu, 10 May 2001 08:32:40 +0000 (08:32 +0000)]
Added snd_card_type_string_to_enum and snd_card_type_enum_to_string functions.
- the /usr/share/alsa/cards.conf file contains the translation table
Added snd_sctl_build and snd_sctl_free functions.
Recoded the surround plugin to use the surround.conf file.
- the /usr/share/alsa/surround.conf file contains the surround configuration