Commit graph

75 commits

Author SHA1 Message Date
Jaroslav Kysela
ce67d5389b more simple mixer - basic abstraction - work
- midlayer cleanups and simplification
- probably broke the "none" abstraction code somehow (not intensively tested
  midlayer changes)
- trying to implement ac97 module
  - far from finished
  - common code should be moved to alsa-lib as core for other modules
  - perhaps simple_abst.c can be based on this common code, too
2005-06-16 11:59:26 +00:00
Jaroslav Kysela
3bcf2f805d Implemented the top-level redirector code for simple mixer
- mixer_abst.c is almost finished (an example module should be created now)
- also fixed some error paths for name function
2005-06-06 14:01:13 +00:00
Jaroslav Kysela
597b4d0942 big simple mixer update
- exported all necessary functions to create a mixer module outside alsa-lib
- separated simple mixer API from the simple mixer implementation
  (using callbacks as usuall)
  - src/mixer/simple.c is the core
  - src/mixer/simple_none.c is the current (no-abstraction) implementation
    based on control names; note that this module does not depend on
    internal ALSA structures now
  - src/mixer/simple_abst.c is the ongoing abstraction which will use
    external dynamic modules; src/conf/smixer.conf will describe which
    modules will be used depending on the components from the driver
2005-06-03 13:33:04 +00:00
Takashi Iwai
087184b0f9 Fix doxygen documents
Fix the warnings of doxygen parsing.
Add some missing documentation.
2005-05-24 14:14:28 +00:00
Takashi Iwai
2ada7a8b81 Fix snd_mixer_sort()
Fixed the wrong pointer use in snd_mixer_sort().
(Patch from https://bugs.gentoo.org/attachment.cgi?id=58918)
2005-05-17 09:34:18 +00:00
Takashi Iwai
da5fa1e15c Use bag_for_each_safe() for event handling loop
Use bag_for_each_safe() for event handling loop.
Event callbacks may be destructive.
2005-02-04 19:18:49 +00:00
Takashi Iwai
e02c51a199 stack protection (CAN-2005-0087)
From Thierry Vignaud <tvignaud@mandrakesoft.com>:

from rh: stack protection control (see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144518)
2005-02-01 18:18:45 +00:00
Clemens Ladisch
c2f0d9c535 fix wrong doc section label 2004-08-16 08:43:26 +00:00
Takashi Iwai
c11a1fc9be fixed documents to process properly via doxygen. 2004-05-24 14:57:47 +00:00
Jaroslav Kysela
098932ce57 Added POLLNVAL to poll->events 2002-11-30 09:47:20 +00:00
Jaroslav Kysela
3e3df2d32b Updated GNU GPL license (address).
Changed GNU LGPL licence from 2.0 to 2.1.
2001-12-30 09:22:54 +00:00
Jaroslav Kysela
ddb7209e9a Added snd_*_poll_descriptors_revents functions. 2001-11-30 17:36:45 +00:00
Jaroslav Kysela
0d9a5d0e59 More documentation updates. 2001-07-18 12:17:11 +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
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
191d03501e Changed descriptors_count 2001-02-18 18:32:30 +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
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
Jaroslav Kysela
6ea4260c1c Added the safe version of the list_for_each function. 2001-02-13 12:53:19 +00:00
Jaroslav Kysela
cba5c929ec Moved the detach code to the more appropriate place. 2001-02-13 11:23:26 +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
Abramo Bagnara
a2d3434961 Completed mixer API. Improved iterators. Renamed control values struct. Rewritten simple elements implementation 2001-02-11 15:45:35 +00:00
Jaroslav Kysela
38033b49dd Updated the hctl interface (the more independent way). 2001-02-09 14:50:05 +00:00
Abramo Bagnara
7165608b17 Fixes 2001-02-09 13:15:54 +00:00
Abramo Bagnara
fea0c73cdb Completed control and mixer API 2001-02-09 11:20:31 +00:00
Abramo Bagnara
45c416ed82 Better names for control API 2001-02-07 15:13:15 +00:00
Abramo Bagnara
8f0cb26fdf Control API encapsulation. Better names for kernel API. Simpler PCM hw_params API. Added missing const. 2001-02-06 23:48:10 +00:00
Abramo Bagnara
5bf23ae9a1 Encapsulated hwdep. Converted all enums to type safety 2001-02-05 15:44:42 +00:00
Abramo Bagnara
de19407578 Removed card type from devices info. Added card number to devices info. Completed encapsulation of PCM API. Removed snd_pcm_card(). All copy functions now have the form copy(dst, src). 2001-01-31 17:26:56 +00:00
Jaroslav Kysela
6962a9d6ce Merged pcmplug branch. 2000-09-24 09:57:26 +00:00
Abramo Bagnara
df35e8457a Added abstraction layer to controls. Added client/server support to controls. Cleaned private_data use for PCMs. Cleaned aserver 2000-09-11 15:49:10 +00:00
Jaroslav Kysela
ec07b3ad20 Warning removal. 2000-08-17 21:50:34 +00:00
Jaroslav Kysela
7376ad380e Added bag operations for the high-level control interface.
Added event layer for simple mixer controls (not fully finished).
2000-08-16 13:35:36 +00:00
Jaroslav Kysela
82102903fe The highlevel control layer was rewritten and updated.
Various fixes in mixer simple layer.
Added include/list.h (from the kernel tree).
2000-08-11 19:28:43 +00:00
Jaroslav Kysela
f981892e3a 64-bit fixes.
Controls API uses binary tree functions (tsearch ...).
2000-08-04 10:24:12 +00:00
Jaroslav Kysela
f5d6fdeba8 More control/mixer API updates.
Added highlevel control layer.
Recoded simple control mixer API.
2000-07-28 20:21:12 +00:00
Jaroslav Kysela
273d115de0 Removed old mixer API functions.
Added simple control layer (experimental).
2000-07-15 10:20:32 +00:00
Jaroslav Kysela
1cd6778173 Merged pcm2 branch. 2000-05-08 18:53:38 +00:00
Jaroslav Kysela
03066b8131 MUX1 & MUX2 renaming. 2000-04-17 18:55:13 +00:00