Struct

ALSACtlElemId

Description [src]

struct ALSACtlElemId {
  /* No available fields */
}

A boxed object to express the identifier of element. A ALSACtlElemId is a boxed object to express the identifier of element. It points to a element by two ways; by the numeric identifier, or by the combination of the type of interface, the numeric identifier of device, the numeric identifier of subdevice, the name, and the index.

The object wraps struct snd_ctl_elem_id in UAPI of Linux sound subsystem.

Constructors

alsactl_elem_id_new_by_name

Allocates and return an instance of ALSACtlElemId by the name.

alsactl_elem_id_new_by_numid

Allocates and return an instance of ALSACtlElemId by the numeric identifier.

Instance methods

alsactl_elem_id_equal
No description available.
alsactl_elem_id_get_device_id

Get the numeric identifier of device to which the element belongs.

alsactl_elem_id_get_iface

Get the interface of element.

alsactl_elem_id_get_index

Get the index of element.

alsactl_elem_id_get_name

Get the name of element.

alsactl_elem_id_get_numid

Get the numeric identifier of element.

alsactl_elem_id_get_subdevice_id

Get the numeric identifier of element.