NVIDIA DeepStream SDK API Reference

7.0 Release
gst_nvdsaudio.h File Reference

Go to the source code of this file.

Data Structures

struct  GstNvDsAudioMemory
 This file describes the custom memory allocator for any Gstreamer plugins wishing to create a pool of NvBufAudio batch buffers. More...
 
struct  _GstNvDsAudioAllocatorParams
 

Typedefs

typedef struct _GstNvDsAudioAllocatorParams GstNvDsAudioAllocatorParams
 

Functions

GstNvDsAudioMemorygst_nvdsaudio_buffer_get_memory (GstBuffer *buffer)
 Get GstNvDsAudioMemory structure associated with buffer allocated using GstNvDsAudioAllocator. More...
 
GstAllocator * gst_nvdsaudio_allocator_new (GstNvDsAudioAllocatorParams *params)
 Create a new GstNvDsAudioAllocator with the given parameters. More...
 

Typedef Documentation

◆ GstNvDsAudioAllocatorParams

Function Documentation

◆ gst_nvdsaudio_allocator_new()

GstAllocator* gst_nvdsaudio_allocator_new ( GstNvDsAudioAllocatorParams params)

Create a new GstNvDsAudioAllocator with the given parameters.

Parameters
paramsAudio allocator params.
Returns
Pointer to the GstNvDsAudioAllocator structure cast as GstAllocator

◆ gst_nvdsaudio_buffer_get_memory()

GstNvDsAudioMemory* gst_nvdsaudio_buffer_get_memory ( GstBuffer buffer)

Get GstNvDsAudioMemory structure associated with buffer allocated using GstNvDsAudioAllocator.

Parameters
bufferGstBuffer allocated by this allocator.
Returns
Pointer to the associated GstNvDsAudioMemory structure