Jaroslav Kysela [Mon, 23 Jul 2001 13:07:47 +0000 (13:07 +0000)]
Added snd_mixer_selem_is_active function.
Changed behaviour for CTL_SINGLE.
Function snd_mixer_handle_events is no longer called from simple mixer code.
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.