Enums¶
Details¶
- class Hitaki.AlsaFirewireError(value)¶
Bases:
GObject.GEnum
The enumerations to report result of operation in [iface`AlsaFirewire`].
- classmethod quark()¶
- Returns:
A [alias`GLib`.Quark].
- Return type:
Return the [alias`GLib`.Quark] for [struct`GLib`.Error] with code in Hitaki.AlsaFirewireError enumerations.
- classmethod to_label(code)¶
- Parameters:
code (
Hitaki.AlsaFirewireError
) – A Hitaki.AlsaFirewireError.- Returns:
The string label of error.
- Return type:
label:
str
Retrieve the string label of error from code.
- FAILED = 0¶
The system call fails.
- IS_OPENED = 1¶
The instance is already associated to any ALSA HwDep character device.
- IS_NOT_OPENED = 2¶
The instance is not associated to any ALSA HwDep character device yet.
- IS_USED = 3¶
The ALSA HwDep character device is used by the other process.
- IS_LOCKED = 4¶
The functionality of packet streaming is prohibited.
- IS_UNLOCKED = 5¶
The functionality of packet streaming is available.
- IS_DISCONNECTED = 6¶
The sound card is disconnected.
- WRONG_CLASS = 7¶
Mismatch between
GObject.Object
class and thetype of sound unit.
- class Hitaki.AlsaFirewireType(value)¶
Bases:
GObject.GEnum
The enumerations for type of sound unit defined by ALSA firewire stack.
- DICE = 1¶
The type of DICE ASIC.
- FIREWORKS = 2¶
The type of Fireworks board module.
- BEBOB = 3¶
The type of BeBoB ASIC.
- OXFW = 4¶
The type of OXFW ASIC
- DIGI00X = 5¶
The type of Digi00x series.
- TASCAM = 6¶
The type of Tascam FireWire series.
- MOTU = 7¶
The type of MOTU FireWire series.
- FIREFACE = 8¶
The type of RME Fireface series.
- class Hitaki.EfwProtocolError(value)¶
Bases:
GObject.GEnum
The enumerations to report status of response in Fireworks protocol.
- classmethod quark()¶
- Returns:
A [alias`GLib`.Quark].
- Return type:
Return the [alias`GLib`.Quark] for [struct`GLib`.Error] with code in Hitaki.EfwProtocolError enumerations.
- classmethod to_label(code)¶
- Parameters:
code (
Hitaki.EfwProtocolError
) – A Hitaki.EfwProtocolError.- Returns:
The string label of error.
- Return type:
label:
str
Retrieve the string label of error.
- INVALID = -1¶
The transaction finished with invalid condition.
- INCOMPLETE = -2147483648¶
The transaction finishes incompletely.
- OK = 0¶
The transaction finished successfully.
- BAD = 1¶
The request or response includes invalid header.
- BAD_CHANNEL = 10¶
The request includes invalid value for the number of channel.
- BAD_PAN = 11¶
The request includes invalid value for panning.
- FLASH_BUSY = 12¶
The on-board flash is busy and not operable.
- BAD_MIRROR = 13¶
The request includes invalid value for mirroring channel.
- BAD_LED = 14¶
The request includes invalid value for LED.
- BAD_PARAMETER = 15¶
The request includes invalid value of parameter.
- BAD_COMMAND = 2¶
The request includes invalid category or command.
- COMM_ERR = 3¶
The transaction fails due to communication error.
- BAD_QUAD_COUNT = 4¶
The number of quadlets in transaction is invalid.
- UNSUPPORTED = 5¶
The request is not supported.
- TIMEOUT = 6¶
The transaction is canceled due to response timeout.
- DSP_TIMEOUT = 7¶
The operation for DSP did not finish within timeout.
- BAD_RATE = 8¶
The request includes invalid value for sampling frequency.
- BAD_CLOCK = 9¶
The request includes invalid value for source of clock.