NVIDIA DeepStream SDK API Reference

6.4 Release
_GstNvDsAudioAllocatorParams Struct Reference

Detailed Description

Definition at line 41 of file gst_nvdsaudio.h.

Data Fields

uint32_t batchSize
 Max size of audio batch. More...
 
bool isContiguous
 If the memory within a batch is contiguos or not. More...
 
NvBufAudioLayout layout
 
NvBufAudioFormat format
 
uint32_t bpf
 Bytes per frame; the size of a frame; size of one sample * @channels. More...
 
uint32_t channels
 Number of audio channels. More...
 
uint32_t rate
 audio sample rate in samples per second More...
 
uint32_t bufferLength
 The number of audio samples in each buffer of the batch. More...
 
guint gpuId
 
NvDsMemType memType
 

Field Documentation

◆ batchSize

uint32_t _GstNvDsAudioAllocatorParams::batchSize

Max size of audio batch.

Definition at line 44 of file gst_nvdsaudio.h.

◆ bpf

uint32_t _GstNvDsAudioAllocatorParams::bpf

Bytes per frame; the size of a frame; size of one sample * @channels.

Definition at line 50 of file gst_nvdsaudio.h.

◆ bufferLength

uint32_t _GstNvDsAudioAllocatorParams::bufferLength

The number of audio samples in each buffer of the batch.

Definition at line 55 of file gst_nvdsaudio.h.

◆ channels

uint32_t _GstNvDsAudioAllocatorParams::channels

Number of audio channels.

Definition at line 52 of file gst_nvdsaudio.h.

◆ format

NvBufAudioFormat _GstNvDsAudioAllocatorParams::format

Definition at line 49 of file gst_nvdsaudio.h.

◆ gpuId

guint _GstNvDsAudioAllocatorParams::gpuId
Parameters
gpuIdID of the gpu where the batch memory will be allocated.

Definition at line 57 of file gst_nvdsaudio.h.

◆ isContiguous

bool _GstNvDsAudioAllocatorParams::isContiguous

If the memory within a batch is contiguos or not.

Definition at line 46 of file gst_nvdsaudio.h.

◆ layout

NvBufAudioLayout _GstNvDsAudioAllocatorParams::layout

Definition at line 48 of file gst_nvdsaudio.h.

◆ memType

NvDsMemType _GstNvDsAudioAllocatorParams::memType

Definition at line 58 of file gst_nvdsaudio.h.

◆ rate

uint32_t _GstNvDsAudioAllocatorParams::rate

audio sample rate in samples per second

Definition at line 53 of file gst_nvdsaudio.h.


The documentation for this struct was generated from the following file: