Method

AgsAudioMidiCIUtilget_initiate_protocol_negotiation

since: 5.5.0

Declaration [src]

guint
ags_midi_ci_util_get_initiate_protocol_negotiation (
  AgsMidiCIUtil* midi_ci_util,
  guchar* buffer,
  guchar* device_id,
  guchar* version,
  AgsMUID* source,
  AgsMUID* destination,
  AgsMidiCIAuthorityLevel* authority_level,
  guchar* number_of_supported_protocols,
  guchar** preferred_protocol_type
)

Description [src]

Get initiate protocol negotiation message. Deprecated since MIDI CI version 1.2.

Available since: 5.5.0

Parameters

buffer

Type: guchar*

The buffer.

The data is owned by the caller of the method.
device_id

Type: guchar*

The return location of device ID.

The argument will be set by the function.
version

Type: guchar*

The return location of version.

The argument will be set by the function.
source

Type: AgsMUID

The return location of source.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
destination

Type: AgsMUID

The destination.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
authority_level

Type: AgsMidiCIAuthorityLevel

The authority level.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
number_of_supported_protocols

Type: guchar*

The number of supported protocols.

The argument will be set by the function.
preferred_protocol_type

Type: guchar**

The preferred protocol type.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: guint

The number of bytes read.