|
NVIDIA DeepStream SDK API Reference
|
7.0 Release
|
Go to the documentation of this file.
13 #ifndef __GSTNVDSAUDIO_H__
14 #define __GSTNVDSAUDIO_H__
29 #if defined(__cplusplus)
81 #if defined(__cplusplus)
GstNvDsAudioMemory * gst_nvdsaudio_buffer_get_memory(GstBuffer *buffer)
Get GstNvDsAudioMemory structure associated with buffer allocated using GstNvDsAudioAllocator.
uint32_t bufferLength
The number of audio samples in each buffer of the batch.
uint32_t bpf
Bytes per frame; the size of a frame; size of one sample * @channels.
uint32_t batchSize
Max size of audio batch.
uint32_t channels
Number of audio channels.
This file describes the custom memory allocator for any Gstreamer plugins wishing to create a pool of...
NvBufAudioFormat
Specifies audio formats.
NvDsMemType
Specifies memory types for NvDsMemory.
struct _GstBuffer GstBuffer
NvBufAudioLayout
Specifies audio data layout in memory.
GstAllocator * gst_nvdsaudio_allocator_new(GstNvDsAudioAllocatorParams *params)
Create a new GstNvDsAudioAllocator with the given parameters.
struct _GstNvDsAudioAllocatorParams GstNvDsAudioAllocatorParams
bool isContiguous
If the memory within a batch is contiguos or not.
NvBufAudio * batch
The audio batch buffer.
uint32_t rate
audio sample rate in samples per second