Class
HinawaSndUnit
deprecated: 2.5.
Description [src]
class Hinawa.SndUnit : GObject.Object {
parent_instance: GObject
}
An event listener for ALSA FireWire sound devices. This class is an application of ALSA FireWire stack. Any functionality which ALSA drivers in the stack can be available.
Deprecated since: 2.5.
Libhitaki library provides Hitaki.SndUnit as the alternative.
Constructors
hinawa_snd_unit_new
Instantiate HinawaSndUnit
object and return the instance.
deprecated: 2.5. since: 1.3.
Instance methods
hinawa_snd_unit_create_source
Create GSource
for GMainContext
to dispatch events for the sound device.
deprecated: 2.5. since: 1.4.
hinawa_snd_unit_get_node
Retrieve an instance of HinawaFwNode
associated to the given unit.
deprecated: 2.5. since: 2.0.
hinawa_snd_unit_lock
Disallow corresponding ALSA driver to start packet streaming.
deprecated: 2.5. since: 0.3
hinawa_snd_unit_open
Open ALSA hwdep character device and check it for FireWire sound devices.
deprecated: 2.5. since: 0.4
hinawa_snd_unit_unlock
Allow corresponding ALSA driver to start packet streaming.
deprecated: 2.5. since: 0.3
Signals
Hinawa.SndUnit::disconnected
Emitted when the sound card is not available anymore due to unbinding driver or hot
unplugging. The owner of this object should call g_object_unref()
as
quickly as possible to release ALSA hwdep character device.
deprecated: 2.5. since: 2.0
Hinawa.SndUnit::lock-status
Emitted when corresponding ALSA driver changes status of lock by starting/stopping packet streaming requested by ALSA PCM/Rawmidi applications.
deprecated: 2.5. since: 0.3
Signals inherited from GObject (1)
GObject::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 HinawaSndUnitClass {
GObjectClass parent_class;
void (* lock_status) (
HinawaSndUnit* self,
gboolean state
);
void (* disconnected) (
HinawaSndUnit* self
);
}
Class members
parent_class: GObjectClass
- No description available.
lock_status: void (* lock_status) ( HinawaSndUnit* self, gboolean state )
- No description available.
disconnected: void (* disconnected) ( HinawaSndUnit* self )
- No description available.
Virtual methods
Hinawa.SndUnitClass.disconnected
Class closure for the HinawaSndUnit::disconnected
.
deprecated: 2.5. since: 2.0
Hinawa.SndUnitClass.lock_status
Class closure for the HinawaSndUnit::lock-status
,
deprecated: 2.5. since: 1.2