Commit graph

125 commits

Author SHA1 Message Date
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
9835e5c9ce Add Side controls in the weight list
Added the "Side" controls in the weight list.
2005-02-18 18:13:45 +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
Takashi Iwai
13098f8f42 Fix memory leak
Fixed memory leak at snd_mixer_elem_detach().
2005-01-13 17:00:11 +00:00
Takashi Iwai
cb6bb19b4d Add Front control to weight list
Added "Front" control to the weight list.
2005-01-03 17:12:21 +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
Takashi Iwai
70d2dd963d fixed the event handling of enum elements. 2004-05-02 11:59:08 +00:00
Takashi Iwai
965222c3d9 fixed compile warnings. 2004-04-15 12:52:49 +00:00
Jaroslav Kysela
81f8c76094 Initial proposal for selection of abstraction in simple mixer API.
Added dB related functions (no implementation yet).
2004-03-14 18:39:58 +00:00
Jaroslav Kysela
f3da5548b3 Fixed range problems 2003-12-09 09:48:28 +00:00
Takashi Iwai
19e8aa67db - fixed the invalid (positive) return value from snd_mixer_set_xxx()
functions.
2003-11-19 15:52:16 +00:00
Jaroslav Kysela
098932ce57 Added POLLNVAL to poll->events 2002-11-30 09:47:20 +00:00
Takashi Iwai
3b6ee2ad97 accept enum items for other volumes and switches. 2002-09-20 09:44:25 +00:00
Takashi Iwai
cabf841f4e handle enumerated playback/capture routes. 2002-09-13 17:36:44 +00:00
Takashi Iwai
c25879f9d9 added the handling of enum controls to simple mixer API.
the following functions are added:
int snd_mixer_selem_is_enumerated()
int snd_mixer_selem_get_enum_items()
int snd_mixer_selem_get_enum_item_name()
int snd_mixer_selem_get_enum_item()
int snd_mixer_selem_set_enum_item()
2002-09-09 14:24:56 +00:00
Jaroslav Kysela
52237f3542 Added back check for duplicated helements 2002-09-04 07:35:25 +00:00
Takashi Iwai
cf444c56b3 replaced excessive asserts with normal conditionals.
this _might_ cure some problems on powermac driver...
2002-09-03 15:53:59 +00:00
Takashi Iwai
50be21e1e4 fixed the detection of playback switch. 2002-05-02 10:58:10 +00:00
Jaroslav Kysela
853304bbf4 Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
Takashi Iwai
8336a94225 fixed handling of capture switch / volume:
"Capture Switch" and "Capture Volume" controls are handled
capture switch and volume without playback capabilities.

capture switch and volume capabilities are not set on
global switches and volumes such as Bass and Treble.
only playback switch/volume is set.
2002-03-12 12:30:17 +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
aded0e2354 Fixed typo 2001-08-27 09:13:58 +00:00
Jaroslav Kysela
7e6906d056 Another fix - switch behaviour 2001-07-30 09:58:32 +00:00
Jaroslav Kysela
5b41fff0be Mixer behaviour fixes 2001-07-26 10:52:42 +00:00
Jaroslav Kysela
48c58ade1d Small fixes (capture & switch read) 2001-07-25 12:33:35 +00:00
Jaroslav Kysela
ff1820f1ad 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.
2001-07-23 13:07:47 +00:00
Jaroslav Kysela
0d9a5d0e59 More documentation updates. 2001-07-18 12:17:11 +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
Abramo Bagnara
157f47aedd New async notification API. Removed obsolete surround. Cleaning 2001-06-20 20:52:12 +00:00
Jaroslav Kysela
711a344fa4 Added more Tone Control items to the sort tables 2001-05-14 14:29:19 +00:00
Jaroslav Kysela
290c2ed8fc Updated the sorting tables and functions. 2001-05-14 11:28:11 +00:00
Jaroslav Kysela
78cd184441 Added 'Center' and 'LFE' to the sort table 2001-05-08 09:25:13 +00:00
Jaroslav Kysela
d16192f6f2 Fixed capture source handling 2001-04-18 14:29:02 +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
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
Jaroslav Kysela
0300bbbbb3 Added more sort rules 2001-03-16 16:46:05 +00:00
Jaroslav Kysela
09abaf9de5 Added mixer_local.h to noinst_HEADERS 2001-02-20 22:03:48 +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