Method

AgsAudioMidiCIUtilget_profile_specific_data

since: 5.5.0

Declaration [src]

guint
ags_midi_ci_util_get_profile_specific_data (
  AgsMidiCIUtil* midi_ci_util,
  guchar* buffer,
  guchar* device_id,
  guchar* version,
  AgsMUID* source,
  AgsMUID* destination,
  guchar* profile_id,
  guint32* profile_specific_data_length,
  guchar** profile_specific_data
)

Description [src]

Get profile specific data message.

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 return location of 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.
profile_id

Type: guchar*

The profile ID.

The argument will be set by the function.
profile_specific_data_length

Type: guint32*

The return location of profile specific data length.

The argument will be set by the function.
profile_specific_data

Type: guchar**

The return location of profile specific data.

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.