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