Class

HitakiSndEfw

Description [src]

class Hitaki.SndEfw : GObject.Object {
  parent_instance: GObject
}

A GObject-derived object for sound unit of Echo Audio Fireworks. The HitakiSndEfw is an object class derived from GObject with protocol implementation for Echo Audio Fireworks devices supported by ALSA fireworks driver (snd-fireworks).

Ancestors

Constructors

hitaki_snd_efw_new

Instantiate HitakiSndEfw object and return it.

Instance methods

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from HitakiAlsaFirewire (4)
hitaki_alsa_firewire_create_source

Allocate GSource to handle events from ALSA HwDep character device.

hitaki_alsa_firewire_lock

Lock kernel driver bound to the associated ALSA HwDep character device so that it is prohibited to start packet streaming.

hitaki_alsa_firewire_open

Open the special file for ALSA HwDep character device.

hitaki_alsa_firewire_unlock

Unlock kernel driver bound to the associated ALSA HwDep character device so that it can start packet streaming.

Methods inherited from HitakiEfwProtocol (3)
hitaki_efw_protocol_receive_response

Parse the given buffer for response frame of Fireworks transaction. The buffer should includes one response frames at least. It results in HitakiEfwProtocol::responded per response frame. It’s expected that the function is used by any implementation of HitakiEfwProtocol.

hitaki_efw_protocol_transaction

Transfer asynchronous transaction for request frame of Echo Efw protocol and wait for response matched to the command. The call results in HitakiEfwProtocol::responded signal with data of response.

hitaki_efw_protocol_transmit_request

Transfer asynchronous transaction for request frame of Fireworks transaction. It calls Hitaki.EfwProtocolInterface.transmit_request internally after composing request frame. It results in HitakiEfwProtocol::responded signal with response parameters when receiving response for the transaction.

Properties

Properties inherited from HitakiAlsaFirewire (6)
Hitaki.AlsaFirewire:card-id

The numeric identifier for sound card.

Hitaki.AlsaFirewire:guid

Global unique identifier for the node in IEEE 1394 bus.

Hitaki.AlsaFirewire:is-disconnected

Whether the sound card is unavailable. It becomes FALSE when the sound card is removed or driver is unbound to it. Then the owner of this object should call g_object_unref() as quickly as possible to release ALSA hwdep character device.

Hitaki.AlsaFirewire:is-locked

Whether the associated unit is locked or not to start packet streaming.

Hitaki.AlsaFirewire:node-device

The name of node device in Linux FireWire subsystem which owns the unit; e.g. fw1.

Hitaki.AlsaFirewire:unit-type

The type of sound unit.

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.

Signals inherited from HitakiEfwProtocol (1)
Hitaki.EfwProtocol::responded

Emitted when the unit transfers asynchronous packet as response of Echo Audio Efw transaction and the process successfully reads the content of response from ALSA Efw driver.

Class structure

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