Commit graph

263 commits

Author SHA1 Message Date
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
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
4bee8c5678 Documented input, output and conf 2001-03-25 14:13:55 +00:00
Abramo Bagnara
ddc9a186cf Completed PCM documentation 2001-03-24 16:14:44 +00:00
Abramo Bagnara
445e2b0c07 First part of PCM documentation 2001-03-23 11:05:41 +00:00
Jaroslav Kysela
e8a01ea4ed Merged rawmidi M4 files into the main ones.
The first attempt to create documentation for the RawMidi API.
2001-03-20 16:46:45 +00:00
Abramo Bagnara
a275d66356 Improved .asoundrc changes 2001-03-17 16:34:43 +00:00
Abramo Bagnara
dc68485554 Attempt to fix incongruities between C++ preprocessor and C one for the same gcc version 2001-03-10 18:13:59 +00:00
Abramo Bagnara
31fb30da6b Avoid use of gcc extensions if not strictly needed 2001-03-10 10:19:37 +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
Abramo Bagnara
c922181ab5 Added pcm_meter 2001-03-01 22:49:15 +00:00
Jaroslav Kysela
afde2cfab2 Added IEC958 macro 2001-02-27 12:16:43 +00:00
Abramo Bagnara
c663f4f4f7 Transformed PAGE_SIZE in sysconf(_SC_PAGE_SIZE) 2001-02-21 21:59:35 +00:00
Jaroslav Kysela
1dfd70d11e Added the event filter to the poll_descriptor functions. 2001-02-21 16:29:40 +00:00
Abramo Bagnara
191d03501e Changed descriptors_count 2001-02-18 18:32:30 +00:00
Abramo Bagnara
0c7637393f Added range specification to simple mixer. Fixes to alsamixer. Added mixer support to alsa-oss 2001-02-18 17:56:37 +00:00
Abramo Bagnara
ab819d2edd New simple mixer implementation 2001-02-15 23:05:41 +00:00
Jaroslav Kysela
0d004acf8d Removed snd_mixer_elem_count. 2001-02-14 13:10:08 +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
3e97ef3ea0 Changed control to use events mask. Added subscribe ioctl 2001-02-13 21:29:30 +00:00