xuxuehai
582d7b6130
commit msg
...
Signed-off-by: xuxuehai <xuxuehai2@huawei.com>
2024-05-16 17:35:05 +08:00
Jaroslav Kysela
4ce38a5ff4
mixer: simple - add snd_mixer_selem_id_parse() from amixer
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2019-11-14 15:00:40 +01:00
Jaroslav Kysela
5b9041bced
Change FSF address (Franklin Street)
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2017-11-14 14:29:26 +01:00
Jaroslav Kysela
b6eb0f9bfd
all places: doxygen cleanups
...
I see no errors with these changes using doxygen 1.8.1.1 .
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2013-04-08 16:42:24 +02:00
Clemens Ladisch
fa30246096
remove unimplemented functions from headers
...
Remove some function declarations that are not (no longer) implemented.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-08-04 09:11:47 +02:00
Lennart Poettering
8d6838450a
alsa-lib: Don't call the simple mixer interface "legacy"
...
The simpler mixer interface is not legacy, so the header file shouldn't claim
otherwise.
Fixes bug#3569
From: Lennart Poettering <mznyfn@0pointer.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-31 15:46:56 +02:00
Jaroslav Kysela
058dde8b7d
implemented integer volume <-> dB volume conversion functions for simple mixer
2008-04-21 11:44:20 +02:00
Takashi Iwai
68e5771a6f
Remove assert from header files
...
Putting assert in the public macros isn't good idea at all.
Let's get rid of them.
Also, clean up snd*_alloca() functions to use a helper macro
instead of copy and paste.
2007-10-25 15:36:03 +02:00
Jaroslav Kysela
d25e281230
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:24:55 +02:00
Jaroslav Kysela
5af75610f2
mixer API - extend simple enumerated controls for direction tests
...
Added snd_mixer_selem_is_enum_playback() and
snd_mixer_selem_is_enum_capture() functions.
2005-08-24 10:41:16 +00:00
Clemens Ladisch
57b9f88922
fix compilation with C++
...
Replace identifer "class" with "class_" for compatibility with C++.
2005-06-23 07:44:36 +00:00
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
157cb698ac
mixer - fix typo and memory leak
2005-06-03 14:04:53 +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
Clemens Ladisch
04c2de32c1
fix some file paths in comments
...
doxygen complains if the file name specified with \file does
not match the real file name, so fix it
2005-01-17 17:34:31 +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
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
853304bbf4
Corrections by Kevin Conder <kconder@interaccess.com>
2002-03-12 20:14:33 +00:00
Takashi Iwai
6ce9436b13
removed comma from last element of enums.
2002-02-05 11:36: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
87b5b249a5
pcm.h - major documentation updates and reordering
...
Cleanup for __cplusplus defines.
2001-11-14 11:40:46 +00:00
Jaroslav Kysela
58345ae4f4
Separated asoundlib.h to small files.
2001-09-13 11:38:32 +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
f65b035a45
Improved in-source documentation (interfaces are divided into modules).
2001-04-24 13:02:58 +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
08232943a2
Get rid of enum type checking ugly trick
2001-03-29 10:11:38 +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
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
Jaroslav Kysela
e02f9a9650
Definitely fixed the sorting/find problems for hcontrol & mixer.
2001-02-13 14:07:28 +00:00
Abramo Bagnara
460660d4b4
More generic support for poll descriptors
2001-02-12 23:51:49 +00:00
Jaroslav Kysela
6f3b01b79c
Added sort & compare functions to the mixer API.
2001-02-12 13:29:33 +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
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
5bf23ae9a1
Encapsulated hwdep. Converted all enums to type safety
2001-02-05 15:44:42 +00:00
Jaroslav Kysela
9acdef38c9
Added snd_*_card() functions.
2000-12-22 14:03:01 +00:00
Jaroslav Kysela
41bb7068f2
Merged pcmfinal branch.
2000-11-20 20:10:46 +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
273d115de0
Removed old mixer API functions.
...
Added simple control layer (experimental).
2000-07-15 10:20:32 +00:00
Jaroslav Kysela
ab804c5072
Added extern to snd_mixer_weight_entry_t *snd_mixer_default_weights
2000-01-23 20:23:37 +00:00
Abramo Bagnara
50b815f16a
Added group and elements sorting
2000-01-18 08:45:02 +00:00