Functions

fw_iso_ctx_error_quark ()

fw_iso_resource_auto_error_quark ()

fw_iso_resource_calculate_bandwidth (bytes_per_payload, scode)

fw_iso_resource_error_quark ()

Details

Hinoko.fw_iso_ctx_error_quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for [struct`GLib`.Error] which has code in [error`FwIsoCtxError`].

Hinoko.fw_iso_resource_auto_error_quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for error domain of [struct`GLib`.Error] which has code in [error`FwIsoResourceAutoError`].

Hinoko.fw_iso_resource_calculate_bandwidth(bytes_per_payload, scode)
Parameters:
  • bytes_per_payload (int) – The number of bytes in payload of isochronous packet.

  • scode (Hinoko.FwScode) – The speed of transmission.

Returns:

The amount of bandwidth expected to be consumed.

Return type:

int

Calculate the amount of bandwidth expected to be consumed in allocation unit by given parameters.

Hinoko.fw_iso_resource_error_quark()
Returns:

A [alias`GLib`.Quark].

Return type:

int

Return the [alias`GLib`.Quark] for [struct`GLib`.Error] with which has code in [error`FwIsoResourceError`].