Commit graph

283 commits

Author SHA1 Message Date
Takashi Iwai
4b47b8e59e Fixed the values of SND_SEQ_CLIENT_XXX etc. 2001-07-11 14:17:29 +00:00
Jaroslav Kysela
c20c954f3d Added documentation for instrument and midi event functions.
Removed snd_enum_() macros.
Documentation changes in asoundlib.h.
2001-07-11 14:09:01 +00:00
Takashi Iwai
6e10740a63 Do not include sound/asequencer.h in user apps. 2001-07-09 08:33:35 +00:00
Takashi Iwai
23bab96c0e Replace SNDRV_ with SND_ prefix. 2001-07-09 08:33:02 +00:00
Takashi Iwai
c78a2006fe Fixed comments. yes, of course, alloca uses stack instead of heap.. 2001-07-09 08:32:31 +00:00
Jaroslav Kysela
c683567487 Added snd_ctl_*_clear() functions. 2001-07-08 17:24:30 +00:00
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
a5b77b03f6 Changed from bool to val to avoid error in c++. 2001-07-04 15:56:51 +00:00
Jaroslav Kysela
0b506b0944 Changed from bool to val to avoid error in c++. 2001-07-04 15:05:05 +00:00
Jaroslav Kysela
88e5e45151 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.
2001-07-04 13:54:13 +00:00
Abramo Bagnara
d23ff765ad Added snd_pcm_hw_params_*_get_mask 2001-07-02 11:46:38 +00:00
Jaroslav Kysela
556143d0de DATADIR is obtained from the configure script 2001-06-26 10:45:10 +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
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
a4768a7b10 Simplified evaluation using snd_config_walk. Fixed implementation 2001-06-16 08:19:15 +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
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
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
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
f5534c46ed Completed parametric configuration and begun to use it 2001-05-22 09:19:43 +00:00
Abramo Bagnara
1d9bf33550 Added parametric configuration. Removed some memory leaks 2001-05-18 17:18:47 +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
626c56774c Changed inclusion files from linux/ to sound/ 2001-05-09 11:56:28 +00:00
Jaroslav Kysela
b72c78f887 Removed snd_ctl_pcm_surround_next_device function. 2001-05-03 15:11:35 +00:00
Jaroslav Kysela
7025482a40 Added SND_RAWMIDI_SYNC flag. 2001-04-24 19:27:45 +00:00
Jaroslav Kysela
f65b035a45 Improved in-source documentation (interfaces are divided into modules). 2001-04-24 13:02:58 +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
Abramo Bagnara
301a62f90a Improved automatic start/stop 2001-04-19 21:18:23 +00:00
Jaroslav Kysela
192d3c9226 Added ctl_elem_lock and unlock... 2001-04-19 13:53:08 +00:00
Abramo Bagnara
6a3b962d06 Better PCM mmap API. Fixed pcm_multi 2001-04-13 15:40:53 +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
05c84062b2 Prototype fix 2001-03-30 13:07:38 +00:00
Abramo Bagnara
62b2da1186 Documentation generation fixes 2001-03-30 10:12:19 +00:00
Abramo Bagnara
b4ac62f3dd More documentation. Tiny change for simple mixer element API (get_range) 2001-03-30 09:43:29 +00:00
Abramo Bagnara
5b50ec848a Lot of cleanings with the help of gcc3 2001-03-29 17:50:28 +00:00
Abramo Bagnara
ce8275b943 Avoid use of C++ keywords 2001-03-29 14:39:02 +00:00
Jaroslav Kysela
413d065421 Added comment to cards 2001-03-29 12:54:16 +00:00
Abramo Bagnara
ee6d9f1bbd Name cleaning for hwdep and timer API 2001-03-29 11:18:16 +00:00
Abramo Bagnara
08232943a2 Get rid of enum type checking ugly trick 2001-03-29 10:11:38 +00:00
Abramo Bagnara
78af661d60 More documentation 2001-03-29 09:44:29 +00:00
Abramo Bagnara
de4cfc3e4b More documentation. Added mode argument to i/o_stdio_open. 2001-03-29 09:10:46 +00:00