alsa-gobject: Add shared library to operate ALSA hwdep character device

GitHub pull_request - opened github at alsa-project.org
Tue Apr 7 13:40:12 CEST 2020


alsa-project/alsa-gobject pull request #15 was opened from takaswie:

This patchset is to add a new library, libalsahwdep, to operate ALSA hwdep
character device.

ALSA hwdep interface is designed to execute driver-dependent code from user
space application. Therefore there're a few common operations. Furthermore,
some of the operations are just for ALSA snd-usb-usx2y driver for TASCAM
US-122, US-224 and US-428, as of Linux kernel v5.6. The library doesn't
support the device-dependent operations.

The library has 4 global APIS. ALSAHwdep.get_device_id_list() returns the list
of numerical IDs of hwdep device in a card. ALSAHwdep.get_hwdep_sysname() and
ALSAHwdep.get_hwdep_devnode() returns sysname and devnode for the card and
hwdep device. ALSAHwdep.get_device_info() returns ALSAHwdep.DeviceInfo
GObject-derived object which represents the information of hwdep device of
the card. The object has some properties, one of which is a enumeration in
ALSAHwdep.IfaceType to represent the type of hwdep device.

Request URL   : https://github.com/alsa-project/alsa-gobject/pull/15
Patch URL     : https://github.com/alsa-project/alsa-gobject/pull/15.patch
Repository URL: https://github.com/alsa-project/alsa-gobject


More information about the Alsa-devel mailing list