Functions¶
|
|
Details¶
- Hinoko.fw_iso_ctx_error_quark()¶
- Returns:
A [alias`GLib`.Quark].
- Return type:
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:
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:
Calculate the amount of bandwidth expected to be consumed in allocation unit by given parameters.