Virtual Method

ALSAHwdepDeviceCommonget_protocol_version

Declaration [src]

gboolean
get_protocol_version (
  ALSAHwdepDeviceCommon* self,
  guint16* const* proto_ver_triplet,
  GError** error
)

Description [src]

Get the version of hwdep protocol used currently. The version is expressed as the array with three elements; major, minor, and micro version in the order. The length of major version is 16 bit, the length of minor and micro version is 8 bit each.

Parameters

proto_ver_triplet An array of guint16*
 

The version of protocol used currently.

 The argument will be modified by the function.
 The array must have 3 elements.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.