NVIDIA DeepStream SDK API Reference

7.0 Release
nvbufaudio.h File Reference

Detailed Description

NvBufAudio Interface

This file specifies the NvBufAudio management API.

The NvBufAudio API provides data structure definition for batched audio buffers. NOTE: Currently the audio data buffers are raw (on system memory). GPU memory support is unavailable.

Definition in file nvbufaudio.h.

Go to the source code of this file.

Data Structures

struct  NvBufAudioParams
 
struct  NvBufAudio
 

Macros

#define RESERVED_BYTES   16
 

Enumerations

enum  NvBufAudioFormat {
  NVBUF_AUDIO_INVALID_FORMAT,
  NVBUF_AUDIO_S8,
  NVBUF_AUDIO_U8,
  NVBUF_AUDIO_S16LE,
  NVBUF_AUDIO_S16BE,
  NVBUF_AUDIO_U16LE,
  NVBUF_AUDIO_U16BE,
  NVBUF_AUDIO_S24_32LE,
  NVBUF_AUDIO_S24_32BE,
  NVBUF_AUDIO_U24_32LE,
  NVBUF_AUDIO_U24_32BE,
  NVBUF_AUDIO_S32LE,
  NVBUF_AUDIO_S32BE,
  NVBUF_AUDIO_U32LE,
  NVBUF_AUDIO_U32BE,
  NVBUF_AUDIO_S24LE,
  NVBUF_AUDIO_S24BE,
  NVBUF_AUDIO_U24LE,
  NVBUF_AUDIO_U24BE,
  NVBUF_AUDIO_S20LE,
  NVBUF_AUDIO_S20BE,
  NVBUF_AUDIO_U20LE,
  NVBUF_AUDIO_U20BE,
  NVBUF_AUDIO_S18LE,
  NVBUF_AUDIO_S18BE,
  NVBUF_AUDIO_U18LE,
  NVBUF_AUDIO_U18BE,
  NVBUF_AUDIO_F32LE,
  NVBUF_AUDIO_F32BE,
  NVBUF_AUDIO_F64LE,
  NVBUF_AUDIO_F64BE
}
 Specifies audio formats. More...
 
enum  NvBufAudioLayout {
  NVBUF_AUDIO_INVALID_LAYOUT,
  NVBUF_AUDIO_INTERLEAVED,
  NVBUF_AUDIO_NON_INTERLEAVED
}
 Specifies audio data layout in memory. More...
 

Macro Definition Documentation

◆ RESERVED_BYTES

#define RESERVED_BYTES   16

Definition at line 36 of file nvbufaudio.h.

Enumeration Type Documentation

◆ NvBufAudioFormat

Specifies audio formats.

Enumerator
NVBUF_AUDIO_INVALID_FORMAT 
NVBUF_AUDIO_S8 
NVBUF_AUDIO_U8 
NVBUF_AUDIO_S16LE 
NVBUF_AUDIO_S16BE 
NVBUF_AUDIO_U16LE 
NVBUF_AUDIO_U16BE 
NVBUF_AUDIO_S24_32LE 
NVBUF_AUDIO_S24_32BE 
NVBUF_AUDIO_U24_32LE 
NVBUF_AUDIO_U24_32BE 
NVBUF_AUDIO_S32LE 
NVBUF_AUDIO_S32BE 
NVBUF_AUDIO_U32LE 
NVBUF_AUDIO_U32BE 
NVBUF_AUDIO_S24LE 
NVBUF_AUDIO_S24BE 
NVBUF_AUDIO_U24LE 
NVBUF_AUDIO_U24BE 
NVBUF_AUDIO_S20LE 
NVBUF_AUDIO_S20BE 
NVBUF_AUDIO_U20LE 
NVBUF_AUDIO_U20BE 
NVBUF_AUDIO_S18LE 
NVBUF_AUDIO_S18BE 
NVBUF_AUDIO_U18LE 
NVBUF_AUDIO_U18BE 
NVBUF_AUDIO_F32LE 
NVBUF_AUDIO_F32BE 
NVBUF_AUDIO_F64LE 
NVBUF_AUDIO_F64BE 

Definition at line 39 of file nvbufaudio.h.

◆ NvBufAudioLayout

Specifies audio data layout in memory.

Enumerator
NVBUF_AUDIO_INVALID_LAYOUT 
NVBUF_AUDIO_INTERLEAVED 

audio sample from each channel shall be interleaved LRLRLRLR

NVBUF_AUDIO_NON_INTERLEAVED 

audio sample from each channel shall be interleaved ; LLLLLLLLRRRRRRRR

Definition at line 75 of file nvbufaudio.h.