Commit graph

122 commits

Author SHA1 Message Date
Abramo Bagnara
fcd164e622 Permit to PCM plug configuration to specify unchanged parameters. Added support for RT signals to async interface. Added ops for PCM mix. 2001-07-07 15:53:20 +00:00
Jaroslav Kysela
b0cef8e666 Removed snd_ctl_card_info_t->mixerid and added the components member. 2001-06-25 13:08:43 +00:00
Jaroslav Kysela
25947ba008 Reorganized configuration files (card->type removal). 2001-06-24 23:16:17 +00:00
Jaroslav Kysela
be8e3bb72d sndrv_ctl_card_info_t->abbreviation member changed to driver 2001-06-21 14:16:13 +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
Abramo Bagnara
157f47aedd New async notification API. Removed obsolete surround. Cleaning 2001-06-20 20:52:12 +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
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
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
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
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
f5534c46ed Completed parametric configuration and begun to use it 2001-05-22 09:19:43 +00:00
Jaroslav Kysela
290c2ed8fc Updated the sorting tables and functions. 2001-05-14 11:28:11 +00:00
Jaroslav Kysela
06e79b9828 Changed in the compare_weight counting 2001-05-14 09:43:59 +00:00
Jaroslav Kysela
232d703c23 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
2001-05-10 08:32:40 +00:00
Jaroslav Kysela
6599731473 Added cards.conf 2001-05-03 16:40:48 +00:00
Jaroslav Kysela
b72c78f887 Removed snd_ctl_pcm_surround_next_device function. 2001-05-03 15:11:35 +00:00
Jaroslav Kysela
5e5a429815 Added snd_ctl_elem_info_is_owner and snd_ctl_elem_info_get_owner functions. 2001-04-23 09:15:09 +00:00
Jaroslav Kysela
12a47782cb Added ctl_elem_lock and unlock code... 2001-04-19 13:53:39 +00:00
Jaroslav Kysela
f12e938abd Added code for pcm_surround_next_device 2001-04-19 08:31:38 +00:00
Jaroslav Kysela
e0ef729f41 Fixed typo 2001-04-19 07:46:50 +00:00
Jaroslav Kysela
c4f95f48c3 Added the surround plugin to allow simple access for 4.0 and 5.1 speakers.
It needs a bit more work to make it functional.
2001-04-13 10:54:56 +00:00
Abramo Bagnara
62b2da1186 Documentation generation fixes 2001-03-30 10:12:19 +00:00
Abramo Bagnara
5b50ec848a Lot of cleanings with the help of gcc3 2001-03-29 17:50:28 +00:00
Abramo Bagnara
de4cfc3e4b More documentation. Added mode argument to i/o_stdio_open. 2001-03-29 09:10:46 +00:00
Jaroslav Kysela
53fc0f6332 Added I2S to sort tables. 2001-03-27 15:50:17 +00:00
Abramo Bagnara
7893ea238d Added mode argument to open functions where it was missing. First part of CTL documentation 2001-03-26 12:45:48 +00:00
Abramo Bagnara
a275d66356 Improved .asoundrc changes 2001-03-17 16:34:43 +00:00
Jaroslav Kysela
0300bbbbb3 Added more sort rules 2001-03-16 16:46:05 +00:00
Abramo Bagnara
46b52167df Exported ERR macros. Completed scopes architecture. Added defaults for {pcm,ctl,rawmidi,seq}type configuration. Fixed bogus dlclose. Implemented ncurses levelmeter (temporarily placed in src/pcm/scopes) 2001-03-07 12:36:05 +00:00
Abramo Bagnara
bbaeb29a74 Renamed ERR to SNDERR. Added s16 pseudo meter scope. Fixed plug hw_refine/params 2001-03-04 20:39:02 +00:00
Jaroslav Kysela
62e8362cc0 Added control_local.h to noinst_HEADERS 2001-02-20 22:02:53 +00:00
Abramo Bagnara
191d03501e Changed descriptors_count 2001-02-18 18:32:30 +00:00
Jaroslav Kysela
cc956312b3 Changed behaviour of poll_descriptors function (returns the filled count of fds).
Added poll_descriptors_count functions.
Added snd_mixer_elem_count function.
2001-02-14 12:15:03 +00:00
Abramo Bagnara
31fcb58e9d Fixed typo 2001-02-14 08:26:33 +00:00
Abramo Bagnara
3e97ef3ea0 Changed control to use events mask. Added subscribe ioctl 2001-02-13 21:29:30 +00:00
Abramo Bagnara
fa51799255 Cached compare weight for hctl_elem too 2001-02-13 15:05:00 +00:00
Abramo Bagnara
eed38f2157 My bogus assumption on add_tail semantic 2001-02-13 14:41:38 +00:00
Abramo Bagnara
b260b72fc9 One more fixes to sorting 2001-02-13 14:25:51 +00:00
Jaroslav Kysela
e02f9a9650 Definitely fixed the sorting/find problems for hcontrol & mixer. 2001-02-13 14:07:28 +00:00
Abramo Bagnara
db53ac9b41 Removed Capture Source exceptions. Renamed snd_hctl_elem_get_handle 2001-02-13 11:42:49 +00:00
Abramo Bagnara
460660d4b4 More generic support for poll descriptors 2001-02-12 23:51:49 +00:00
Jaroslav Kysela
a86efa083c More bugfixes (sort, compare, mixer, hcontrol). 2001-02-12 19:24:46 +00:00
Jaroslav Kysela
515d1a6415 Improved mixer sort/compare interface. 2001-02-12 18:10:31 +00:00
Jaroslav Kysela
6f3b01b79c Added sort & compare functions to the mixer API. 2001-02-12 13:29:33 +00:00
Abramo Bagnara
955b9fc335 Fixed handle_events 2001-02-11 17:46:03 +00:00