Hitaki.TascamProtocol

g GObject.GInterface GObject.GInterface Hitaki.TascamProtocol Hitaki.TascamProtocol GObject.GInterface->Hitaki.TascamProtocol

Implementations:

Hitaki.SndTascam

Methods

read_state (state)

Virtual Methods

do_changed (index, before, after)

do_read_state (state)

Properties

None

Signals

Name

Short Description

changed

Emitted when the part of image differed for the change of device state.

Fields

None

Class Details

class Hitaki.TascamProtocol
Bases:

GObject.GInterface

Structure:

Hitaki.TascamProtocolInterface

An interface for protocol of TASCAM FireWire series. TASCAM FireWire series transfer image of device state by either isochronous or asynchronous packets. The [iface`TascamProtocol`] is an object interface for the image and the change of state in the TASCAM FireWire protocol.

read_state(state)
Parameters:

state ([int]) – The image of state.

Raises:

GLib.Error

Returns:

True if the overall operation finished successfully, else False.

state:

The image of state.

Return type:

(bool, state: [int])

Read the latest image of device state.

do_changed(index, before, after) virtual
Parameters:
  • index (int) – the numeric index on image for status and control information.

  • before (int) – the value of information before changed.

  • after (int) – the value of information after changed.

Class closure for the [signal`TascamProtocol`:py:func:::changed<Hitaki.TascamProtocol.signals.changed>] signal.

do_read_state(state) virtual
Parameters:

state ([int]) – The image of state.

Returns:

True if the overall operation finished successfully, else False.

state:

The image of state.

Return type:

(bool, state: [int])

Read the latest image of device state.

Signal Details

Hitaki.TascamProtocol.signals.changed(tascam_protocol, index, before, after)
Signal Name:

changed

Flags:

RUN_LAST, ACTION

Parameters:
  • tascam_protocol (Hitaki.TascamProtocol) – The object which received the signal

  • index (int) – the numeric index on image of status and control info.

  • before (int) – the value of info before changed.

  • after (int) – the value of info after changed.

Emitted when the part of image differed for the change of device state.