23 #ifndef _NVBUFAUDIO_H_
24 #define _NVBUFAUDIO_H_
34 #define RESERVED_BYTES 16
uint64_t duration
duration of this audio buffer
uint32_t sourceId
source ID of this buffer; This is w.r.t the multisrc DeepStream usecases
uint64_t bufPts
Buffer PTS of this audio buffer.
bool isContiguous
isContiguous is true when the dataPtr in audioBuffers[] array is contiguous with the previous and fol...
uint32_t rate
audio sample rate in samples per second
NvBufAudioFormat
Specifies audio formats.
audio sample from each channel shall be interleaved ; LLLLLLLLRRRRRRRR
NvBufAudioLayout
Specifies audio data layout in memory.
uint32_t batchSize
The size of this NvBufAudio batch.
uint32_t padId
Holds the pad or port index of the Gst-streammux plugin for the frame in the batch.
audio sample from each channel shall be interleaved LRLRLRLR
uint32_t numFilled
The size of this NvBufAudio batch.
NvBufAudioParams * audioBuffers
Array of batchSize audio bufffers.
uint32_t channels
Number of audio channels.
uint64_t ntpTimestamp
NTP Timestamp of this audio buffer.
uint32_t bpf
Bytes per frame; the size of a frame; size of one sample * .