Method
HinokoFwIsoResourceallocate
since: 1.0
Declaration [src]
gboolean
hinoko_fw_iso_resource_allocate (
HinokoFwIsoResource* self,
const guint8* channel_candidates,
gsize channel_candidates_count,
guint bandwidth,
GError** error
)
Description [src]
Initiate allocation of isochronous resource without any wait. One of the candidates is actually
allocated for channel. When the allocation finishes, HinokoFwIsoResource::allocated signal is
emitted to notify the result, channel, and bandwidth.
Available since: 1.0
Parameters
channel_candidates-
Type: An array of
guint8The array with elements for numeric number of isochronous channel to be allocated.
The length of the array is specified in the channel_candidates_countargument.The data is owned by the caller of the method. channel_candidates_count-
Type:
gsizeThe number of channel candidates.
bandwidth-
Type:
guintThe amount of bandwidth to be allocated.
error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.