Yate
IAXFormatDesc Class Reference

IAX format description. More...

#include <yateiax.h>

Public Member Functions

 IAXFormatDesc ()
 
u_int32_t format () const
 
unsigned int multiplier () const
 
void setFormat (u_int32_t fmt, int type)
 

Protected Attributes

u_int32_t m_format
 
unsigned int m_multiplier
 

Detailed Description

IAX format description.

This class holds IAX format description

Constructor & Destructor Documentation

◆ IAXFormatDesc()

IAXFormatDesc ( )
inline

Constructor

Member Function Documentation

◆ format()

u_int32_t format ( ) const
inline

Get the format

Returns
The format

◆ multiplier()

unsigned int multiplier ( ) const
inline

Get the format multiplier used to translate timestamps

Returns
The format multiplier (always greater then 0)

◆ setFormat()

void setFormat ( u_int32_t fmt,
int type )

Set the format

Parameters
fmtThe format
typeFormat type as IAXFormat::Media enumeration

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