AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Declares common audio macros and structs used in the SDK. More...
Go to the source code of this file.
Macros | |
#define | NTV2_NUMAUDIO_CHANNELS 6 |
#define | NTV2_AUDIOSAMPLESIZE (sizeof (ULWord)) |
#define | NTV2_AUDIO_WRAPADDRESS 0x000FF000 |
#define | NTV2_AUDIO_WRAPADDRESS_MEDIUM (0x000FF000 * 2) |
#define | NTV2_AUDIO_WRAPADDRESS_BIG (0x000FF000 * 4) |
#define | NTV2_AUDIO_WRAPADDRESS_BIGGER (0x000FF000 * 8) |
#define | NTV2_AUDIO_READBUFFEROFFSET 0x00100000 |
#define | NTV2_AUDIO_READBUFFEROFFSET_MEDIUM (0x00100000 * 2) |
#define | NTV2_AUDIO_READBUFFEROFFSET_BIG (0x00100000 * 4) |
#define | NTV2_AUDIO_READBUFFEROFFSET_BIGGER (0x00100000 * 8) |
#define | NTV2_AUDIO_BUFFEROFFSET_BIG (0x00100000 * 8) |
#define | NTV2_NUMSAMPLES_PER_AUDIO_INTERRUPT 960 |
#define | NTV2_TOTALSAMPLES_IN_BUFFER(numChannels) (NTV2_AUDIO_WRAPADDRESS/((numChannels)*NTV2_AUDIOSAMPLESIZE)) |
#define | kSDIName "SDI" |
#define | kAESName "AES/EBU" |
#define | kADATName "ADAT - 8 channels" |
#define | kAnalogName "Analog - 4 channels" |
#define | kNoneName "IO - none" |
#define | kAllName "8 channels" |
#define | kAJADeviceManufacturer "AJA Video" |
Enumerations | |
enum | AudioChannelsPerFrameEnum { kNumAudioChannels2 = 2, kNumAudioChannels4 = 4, kNumAudioChannels6 = 6, kNumAudioChannels8 = 8, kNumAudioChannels16 = 16, kNumAudioChannelsMax = kNumAudioChannels16 } |
enum | AudioBitsPerSampleEnum { k16bitsPerSample = 16, k24bitsPerSample = 24, k32bitsPerSample = 32 } |
enum | AudioSampleRateEnum { k44p1KHzSampleRate = 44100, k48KHzSampleRate = 48000, k96KHzSampleRate = 96000 } |
enum | AudioSourceEnum { kSourceSDI = 0x69736469, kSourceAES = 0x69616573, kSourceADAT = 0x69616474, kSourceAnalog = 0x69616C67, kSourceNone = 0x6E6F696E, kSourceAll = 0x6F757420 } |
enum | AudioMuteEnum { kNormal = 0, kMuted = 1 } |
Declares common audio macros and structs used in the SDK.
Definition in file ntv2audiodefines.h.
#define kADATName "ADAT - 8 channels" |
Definition at line 29 of file ntv2audiodefines.h.
#define kAESName "AES/EBU" |
Definition at line 28 of file ntv2audiodefines.h.
#define kAJADeviceManufacturer "AJA Video" |
Definition at line 34 of file ntv2audiodefines.h.
#define kAllName "8 channels" |
Definition at line 32 of file ntv2audiodefines.h.
#define kAnalogName "Analog - 4 channels" |
Definition at line 30 of file ntv2audiodefines.h.
#define kNoneName "IO - none" |
Definition at line 31 of file ntv2audiodefines.h.
#define kSDIName "SDI" |
Definition at line 27 of file ntv2audiodefines.h.
#define NTV2_AUDIO_BUFFEROFFSET_BIG (0x00100000 * 8) |
Definition at line 22 of file ntv2audiodefines.h.
#define NTV2_AUDIO_READBUFFEROFFSET 0x00100000 |
Definition at line 17 of file ntv2audiodefines.h.
#define NTV2_AUDIO_READBUFFEROFFSET_BIG (0x00100000 * 4) |
Definition at line 19 of file ntv2audiodefines.h.
#define NTV2_AUDIO_READBUFFEROFFSET_BIGGER (0x00100000 * 8) |
Definition at line 20 of file ntv2audiodefines.h.
#define NTV2_AUDIO_READBUFFEROFFSET_MEDIUM (0x00100000 * 2) |
Definition at line 18 of file ntv2audiodefines.h.
#define NTV2_AUDIO_WRAPADDRESS 0x000FF000 |
Definition at line 13 of file ntv2audiodefines.h.
#define NTV2_AUDIO_WRAPADDRESS_BIG (0x000FF000 * 4) |
Definition at line 15 of file ntv2audiodefines.h.
#define NTV2_AUDIO_WRAPADDRESS_BIGGER (0x000FF000 * 8) |
Definition at line 16 of file ntv2audiodefines.h.
#define NTV2_AUDIO_WRAPADDRESS_MEDIUM (0x000FF000 * 2) |
Definition at line 14 of file ntv2audiodefines.h.
#define NTV2_AUDIOSAMPLESIZE (sizeof (ULWord)) |
Definition at line 12 of file ntv2audiodefines.h.
#define NTV2_NUMAUDIO_CHANNELS 6 |
Definition at line 11 of file ntv2audiodefines.h.
#define NTV2_NUMSAMPLES_PER_AUDIO_INTERRUPT 960 |
Definition at line 24 of file ntv2audiodefines.h.
#define NTV2_TOTALSAMPLES_IN_BUFFER | ( | numChannels | ) | (NTV2_AUDIO_WRAPADDRESS/((numChannels)*NTV2_AUDIOSAMPLESIZE)) |
Definition at line 25 of file ntv2audiodefines.h.
Enumerator | |
---|---|
k16bitsPerSample | |
k24bitsPerSample | |
k32bitsPerSample |
Definition at line 48 of file ntv2audiodefines.h.
Enumerator | |
---|---|
kNumAudioChannels2 | |
kNumAudioChannels4 | |
kNumAudioChannels6 | |
kNumAudioChannels8 | |
kNumAudioChannels16 | |
kNumAudioChannelsMax |
Definition at line 37 of file ntv2audiodefines.h.
enum AudioMuteEnum |
Enumerator | |
---|---|
kNormal | |
kMuted |
Definition at line 74 of file ntv2audiodefines.h.
enum AudioSampleRateEnum |
Enumerator | |
---|---|
k44p1KHzSampleRate | |
k48KHzSampleRate | |
k96KHzSampleRate |
Definition at line 56 of file ntv2audiodefines.h.
enum AudioSourceEnum |
Enumerator | |
---|---|
kSourceSDI | |
kSourceAES | |
kSourceADAT | |
kSourceAnalog | |
kSourceNone | |
kSourceAll |
Definition at line 64 of file ntv2audiodefines.h.