| AAX SDK 2.6.1 Avid Audio Extensions Development Kit

- Welcome
- Manual
- Classes
- Files
- Lists
- Support

- Class List
- Class Index
- Class Hierarchy
- Class Members

Loading...
Searching...
No Matches
List of all members | Public Attributes
AAX_CMidiPacket Struct Reference

`#include <AAX.h>`

## Description

Packet structure for MIDI data.

See also
  AAX_CMidiStream

Legacy Porting Notes:
  Corresponds to DirectMidiPacket in the legacy SDK

## Public Attributes
uint32_t | mTimestamp
| This is the playback time at which the MIDI event should occur, relative to the beginning of the current audio buffer.
uint32_t | mLength
| The length of MIDI message, in terms of bytes.
unsigned char | mData [4]
| The MIDI message itself. Each array element is one byte of the message, with the 0th element being the first byte.
AAX_CBoolean | mIsImmediate
| Indicates that the message is to be sent as soon as possible.

## Member Data Documentation

## ◆ mTimestamp

uint32_t AAX_CMidiPacket::mTimestamp

This is the playback time at which the MIDI event should occur, relative to the beginning of the current audio buffer.

## ◆ mLength

uint32_t AAX_CMidiPacket::mLength

The length of MIDI message, in terms of bytes.

## ◆ mData

unsigned char AAX_CMidiPacket::mData[4]

The MIDI message itself. Each array element is one byte of the message, with the 0th element being the first byte.

Referenced by AAX::IsAccentedClick(), AAX::IsAllNotesOff(), AAX::IsNoteOff(), AAX::IsNoteOn(), and AAX::IsUnaccentedClick().

## ◆ mIsImmediate

AAX_CBoolean AAX_CMidiPacket::mIsImmediate

Indicates that the message is to be sent as soon as possible.

Host Compatibility Notes:
  This value is not currently set. Use `mTimestamp == 0` to detect immediate packets

The documentation for this struct was generated from the following file:

- AAX.h