MillicastSDK 1.8.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
millicast::AudioFrame Struct Reference

The AudioFrame struct used to described audio data. More...

#include <frames.h>

Public Attributes

const void * data
 
int bits_per_sample
 
int sample_rate
 
size_t number_of_channels
 
size_t number_of_frames
 

Detailed Description

The AudioFrame struct used to described audio data.

Member Data Documentation

◆ bits_per_sample

int millicast::AudioFrame::bits_per_sample

The number of bits per sample, 16 bits or 32 bits only

◆ data

const void* millicast::AudioFrame::data

The audio data

◆ number_of_channels

size_t millicast::AudioFrame::number_of_channels

The number of channels used

◆ number_of_frames

size_t millicast::AudioFrame::number_of_frames

The number of frames contained in this object. This is dependant on the length of each frame in time as well as the sample rate. For example, if each frame equates to 10 milliseconds of playback, and the sample rate is 48 kHz, then the number of frames = 10 ms * 48 kHz = 480 frames

◆ sample_rate

int millicast::AudioFrame::sample_rate

The sample rate of the audio data, must be 48kHz


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