NVIDIA DeepStream SDK API Reference

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

◆ 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