]>
git.alsa-project.org Git - alsa-gobject.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Takashi Sakamoto [Mon, 30 Dec 2019 03:01:55 +0000 (12:01 +0900)]
ctl: simplify event dispatching for element event
Formerly, GSource for card includes the list of ALSACtlElemId instances
since 'snd_ctl_elem_id' structure was wrapped by GObject class object.
However now it's GObject boxed object and emit signals without the class
object.
This commit removes useless list of ALSACtlElemId and dispatch the event
directly.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Takashi Sakamoto [Mon, 30 Dec 2019 00:31:12 +0000 (09:31 +0900)]
ctl: rename element event mask
The 'snd_ctl_event' structure can be defined to deliver several types of
events. One of the event is for element and it includes bitflags of the
kind of event for the element. In this library, the bitflag is named so
that it represents generic event, however it should be something
specific to element event.
This commit renames the bitflag.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Takashi Sakamoto [Sun, 22 Dec 2019 02:02:34 +0000 (11:02 +0900)]
ctl: elem_value: add an API to check whether two instances have the same values
It's convenient for users to check whether two instances of elem_value
have the same values. This commit adds an API to satisfy the convenience.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Takashi Sakamoto [Sun, 22 Dec 2019 02:05:29 +0000 (11:05 +0900)]
ctl: elem_id: add an API to check whether two instances indicates the same element
It's convenient for users to check whether two instances of elem_id
indicates the same element. This commit adds an API to satisfy the
convenience.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Takashi Sakamoto [Sun, 22 Dec 2019 02:04:26 +0000 (11:04 +0900)]
ctl: tests: fix a test template for elem_id
Although a test template for elem_id does not run actually, it's better
to keep it as prepared. This commit fixes the test template for the
latest implementation of elem_id.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Takashi Sakamoto [Mon, 16 Dec 2019 19:02:29 +0000 (04:02 +0900)]
ctl: elem_info_int: fix wrong assignment to private value
ALSACtl::ElemInfoInt has properties for 'min', 'max' and 'step' but their
assignments are not proper. This commit fixes the bug.
Fixes: aac870451a89 ("ctl: elem_info_int: add properties for type-dependent parameters and constructor")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Takashi Sakamoto [Sat, 30 Nov 2019 08:33:18 +0000 (17:33 +0900)]
add README
Takashi Sakamoto [Thu, 21 Nov 2019 04:13:58 +0000 (13:13 +0900)]
ctl: generate documentation
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add APIs to set/get value of integer64 type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add APIs to set/get value of IEC 60958 type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add APIs to set/get values of bytes type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add APIs to set/get indexes of enumerated type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add APIs to set/get values of integer type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add APIs to set/get values of boolean type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add APIs to read/write value for element
Takashi Sakamoto [Fri, 29 Nov 2019 06:42:21 +0000 (15:42 +0900)]
ctl: elem_value: add properties and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_value: add object to represent value for element
Takashi Sakamoto [Sun, 1 Dec 2019 01:52:50 +0000 (10:52 +0900)]
ctl: card: emit 'disconnection' signal when detecting disconnection of sound card
Takashi Sakamoto [Sun, 1 Dec 2019 01:27:16 +0000 (10:27 +0900)]
ctl: card: add virtual method to handle disconnection of sound card
Takashi Sakamoto [Sun, 1 Dec 2019 01:25:47 +0000 (10:25 +0900)]
ctl: card: add GObject signal to handle disconnection of sound card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: emit 'handle-elem-event' GObject signal with elem_id
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add virtual object to handle event for element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add GObject signal to handle event for element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: subscribe event when creating GSource
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add an API to create GSource for event dispatcher
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add an API to remove user-defined elements
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add an API to add/replace user-defined elements
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add APIs to write/read/command Type-Length-Value data for element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add an API to get information of element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_int64: add properties and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_int64: add object to represent information for integer64 type element
Takashi Sakamoto [Wed, 11 Dec 2019 10:04:03 +0000 (19:04 +0900)]
ctl: elem_info_iec60958: add constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_iec60958: add object to represent information for element of IEC60958 type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_bytes: add properties for specific information and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_bytes: add object to represent information for element of bytes type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_enum: add properties and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_enum: add object to represent information for element of enumerator type
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_int: add properties for type-dependent parameters and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_int: add object to represent information for integer type element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_bool: add properties for specific information and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info_bool: add object to represent information for boolean type element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info: add properties for common information
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_info: add object to represent information of element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add an API to lock element from writing
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add a API to retrieve list of element ID
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_id: add access methods and constructor
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: elem_id: add GObject derived object for identifier of control element
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add an API to get information of sound card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card_info: add properties
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card_info: add an object to represent information of card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add properties
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add APIs to open ALSA control character devices
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: card: add object to represent sound card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: add global method to get devnode string of control device for sound card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: add global method to get sysname of control device for sound card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: add global method to get sysname of sound card
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: add global method to get list of available sound cards
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: add Quark object to report any error
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: tests: add test script for enumerations in ALSACtl namespace
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: generate enumerations
Takashi Sakamoto [Mon, 18 Nov 2019 04:22:44 +0000 (13:22 +0900)]
ctl: generate alsactl library
This project produces 'alsactl' library for API to use some features
of ALSA control character device. The API is available for C language
natively as well as for gobject introspection.
This commit generates the library. At present, no API is public.
Takashi Sakamoto [Sat, 30 Nov 2019 08:57:32 +0000 (17:57 +0900)]
add suppression file for valgrind to avoid useless report of leak memory
Takashi Sakamoto [Mon, 14 Oct 2019 23:59:30 +0000 (08:59 +0900)]
meson: start alsa-gobject project
This project is licensed under GNU Lesser General Public License
Version 3.