libivon 0.1.0
Voice-over-IP library
Loading...
Searching...
No Matches
ivon::AudioOutputFrame Struct Reference

Structured output frame info returned by audio read operations. More...

#include <ivon_types.hpp>

Public Attributes

bool valid {false}
 True if a frame was available and written to the output buffer.
 
int frame_size {0}
 Number of PCM samples per channel in the frame (e.g. 960 for 20 ms at 48 kHz)
 
uint8_t channels {0}
 Number of interleaved channels (1 = mono, 2 = stereo)
 

Detailed Description

Structured output frame info returned by audio read operations.

Member Data Documentation

◆ channels

uint8_t ivon::AudioOutputFrame::channels {0}

Number of interleaved channels (1 = mono, 2 = stereo)

◆ frame_size

int ivon::AudioOutputFrame::frame_size {0}

Number of PCM samples per channel in the frame (e.g. 960 for 20 ms at 48 kHz)

◆ valid

bool ivon::AudioOutputFrame::valid {false}

True if a frame was available and written to the output buffer.


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