Jaroslav Kysela [Wed, 4 Jul 2001 13:54:13 +0000 (13:54 +0000)]
Major change to sequencer API.
The sequencer API is totally recoded with the style of "encapsulation"
in other api.
The structure becomes opaque and accessed only via functions.
Other changes:
- There is no longer group in client and port info.
- snd_seq_query_subs_t is renamed to snd_seq_query_subscribe_t.
- snd_seq_delete_port takes only the port id argument instead of
port_info structure.
- snd_seq_input/output_buffer_size are renamed
as snd_seq_get_input/output_buffer_size.
Similarly snd_seq_resize_input/output_buffer are renamed as
snd_seq_set_input/output_buffer_size.
- snd_seq_get_named_queue is renamed to snd_seq_query_named_queue.
- Sync codes are removed temporarily from API.
- Subscription conditions are accessed via the corresponding functions.
convert_time is named now as time_update.
- snd_seq_get/set_queue_owner are removed.
Use snd_seq_get/set_queue_info instead.
- Instrument put/get/remove structure is unified as snd_instr_header_t.
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