### Interface

# Hitaki MotuRegisterDsp

#### Description [src]

    interface Hitaki.MotuRegisterDsp : GObject.Object

An interface for protocol of register DSP models in MOTU FireWire series. The register DSP models in Mark of the Unicorn (MOTU) FireWire series transfer isochronous packets to delivers PCM frames and MIDI messages as well as DSP parameters and metering information. The `HitakiMotuRegisterDsp` is an object interface for the parameters and metering information in the register DSP protocol.

#### Prerequisite

In order to implement MotuRegisterDsp, your type must inherit from`GObject`.

#### Implementations

- HitakiSndMotu

#### Instance methods

###### hitaki_motu_register_dsp_read_byte_meter

Read cached data of meter information for register DSP models.

###### hitaki_motu_register_dsp_read_parameter

Read cached parameter for register DSP models.

#### Signals

###### Hitaki.MotuRegisterDsp::changed

Emitted when MOTU register DSP models transfer events by messages in the sequence of isochronous packet. The event consists of encoded data. The most significant byte is the type of message. The next two bytes are two identifiers. The least significant byte is value. The meaning of identifier 0, 1 and value is decided depending on the type. For detail, see `sound/firewire/motu/motu-register-dsp-message-parser.c` in Linux kernel.

#### Interface structure

    struct HitakiMotuRegisterDspInterface {
      GTypeInterface iface;
      gboolean (* read_parameter) (
        HitakiMotuRegisterDsp* self,
        HitakiSndMotuRegisterDspParameter* const* param,
        GError** error
      );
      gboolean (* read_byte_meter) (
        HitakiMotuRegisterDsp* self,
        guint8* const* meter,
        GError** error
      );
      void (* changed) (
        HitakiMotuRegisterDsp* self,
        const guint32* events,
        guint length
      );

    }

No description available.

###### Interface members

`iface`

    GTypeInterface

| No description available.

`read_parameter`

    gboolean (* read_parameter) (
        HitakiMotuRegisterDsp* self,
        HitakiSndMotuRegisterDspParameter* const* param,
        GError** error
      )

| No description available.

`read_byte_meter`

    gboolean (* read_byte_meter) (
        HitakiMotuRegisterDsp* self,
        guint8* const* meter,
        GError** error
      )

| No description available.

`changed`

    void (* changed) (
        HitakiMotuRegisterDsp* self,
        const guint32* events,
        guint length
      )

| No description available.

#### Virtual methods

###### Hitaki.MotuRegisterDsp.changed

Class closure for the `HitakiMotuRegisterDsp::changed` signal.

###### Hitaki.MotuRegisterDsp.read_byte_meter

Read cached data of meter information for register DSP models.

###### Hitaki.MotuRegisterDsp.read_parameter

Read cached parameter for register DSP models.