NVIDIA DeepStream SDK API Reference

6.1.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gst_nvdsaudio.h File Reference

Go to the source code of this file.

Data Structures

struct  GstNvDsAudioMemory
 Copyright (c) 2020, NVIDIA CORPORATION. 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

Function Documentation

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
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