Class

ALSACtlElemValue

Description [src]

class ALSACtl.ElemValue : GObject.Object {
  parent_instance: GObject
}

A GObject-derived object to express the container of array for values specific to element type. A ALSACtlElemValue includes several types of array for values specific to element type. The arrays shares the same internal storage, thus the user application should decide the type of array according to the type of element when accessing to the array. The object is used for the call of alsactl_card_write_elem_value() and alsactl_card_read_elem_value().

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

Ancestors

Constructors

alsactl_elem_value_new

Allocate and return an instance of ALSACtlElemValue.

Instance methods

alsactl_elem_value_equal
No description available.
alsactl_elem_value_get_bool

Refer to the array specific to ALSACtlElemType.BOOLEAN element in internal storage.

alsactl_elem_value_get_bytes

Refer to the array specific to ALSACtlElemType.BYTES element in internal storage.

alsactl_elem_value_get_enum

Refer to the array specific to ALSACtlElemType.ENUMERATED element in internal storage.

alsactl_elem_value_get_iec60958_channel_status

Refer to the array specific to ALSACtlElemType.IEC60958 element in internal storage.

alsactl_elem_value_get_iec60958_user_data

Refer to the array specific to ALSACtlElemType.IEC60958 element in internal storage.

alsactl_elem_value_get_int

Refer to the array for ALSACtlElemType.INTEGER element in internal storage.

alsactl_elem_value_get_int64

Refer to the array for ALSACtlElemType.INTEGER64 element in internal storage.

alsactl_elem_value_set_bool

Copy the array into internal data for ALSACtlElemType.BOOLEAN element.

alsactl_elem_value_set_bytes

Copy the array into internal storage for ALSACtlElemType.BYTES element.

alsactl_elem_value_set_enum

Copy the array into internal storage for ALSACtlElemType.ENUMERATED element.

alsactl_elem_value_set_iec60958_channel_status

Copy the channel status bits into internal storage for ALSACtlElemType.IEC60958 element.

alsactl_elem_value_set_iec60958_user_data

Copy the user data bits into internal storage for ALSACtlElemType.IEC60958 element.

alsactl_elem_value_set_int

Copy the array into internal storage for ALSACtlElemType.INTEGER element.

alsactl_elem_value_set_int64

Copy the array into internal storage for ALSACtlElemType.INTEGER64 element.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

ALSACtl.ElemValue:elem-id

The identifier of element.

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ALSACtlElemValueClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.