Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
AUDIO_ENGINE_FORMAT Struct Reference

Internal API structure which are used for data exchange between Kodi and addon. More...

#include <audio_engine.h>

Public Attributes

enum AudioEngineDataFormat m_dataFormat
 
unsigned int m_sampleRate
 
unsigned int m_encodedRate
 
unsigned int m_channelCount
 
enum AudioEngineChannel m_channels [AUDIOENGINE_CH_MAX]
 
unsigned int m_frames
 
unsigned int m_frameSize
 

Detailed Description

Internal API structure which are used for data exchange between Kodi and addon.

Member Data Documentation

◆ m_channelCount

unsigned int AUDIO_ENGINE_FORMAT::m_channelCount

The amount of used speaker channels

◆ m_channels

enum AudioEngineChannel AUDIO_ENGINE_FORMAT::m_channels[AUDIOENGINE_CH_MAX]

The stream's channel layout

◆ m_dataFormat

enum AudioEngineDataFormat AUDIO_ENGINE_FORMAT::m_dataFormat

The stream's data format (eg, AUDIOENGINE_FMT_S16LE)

◆ m_encodedRate

unsigned int AUDIO_ENGINE_FORMAT::m_encodedRate

The encoded streams sample rate if a bitstream, otherwise undefined

◆ m_frames

unsigned int AUDIO_ENGINE_FORMAT::m_frames

The number of frames per period

◆ m_frameSize

unsigned int AUDIO_ENGINE_FORMAT::m_frameSize

The size of one frame in bytes

◆ m_sampleRate

unsigned int AUDIO_ENGINE_FORMAT::m_sampleRate

The stream's sample rate (eg, 48000)


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