class IAXFormat

Wrapper class for audio and video formats. More...

Full nameTelEngine::IAXFormat
Definition#include <libs/yiax/yateiax.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Static Methods

Public Members


Detailed Description

This class holds the enumeration values for audio and video formats

enum Audio { G723_1 = (1 << 0), GSM = (1 << 1), ULAW = (1 << 2), ALAW = (1 << 3), MP3 = (1 << 4), ADPCM = (1 << 5), SLIN = (1 << 6), LPC10 = (1 << 7), G729A = (1 << 8), SPEEX = (1 << 9), ILBC = (1 << 10), }

Audio

Audio format enumeration types

enum Video { JPEG = (1 << 16), PNG = (1 << 17), H261 = (1 << 18), H263 = (1 << 19), }

Video

Video format enumeration types

void  formatList (String& dest, u_int32_t formats, char sep = ',')

formatList

[static]

Create a string list from formats

Parameters:
destThe destination
formatsThe formats
sepThe separator to use

inline const char*  audioText (u_int32_t audio)

audioText

[static]

Get the text associated with an audio format

Parameters:
audioThe desired format

Returns: A pointer to the text associated with the format or 0 if the format doesn't exist

inline const char*  videoText (u_int32_t video)

videoText

[static]

Get the text associated with a video format

Parameters:
videoThe desired format

Returns: A pointer to the text associated with the format or 0 if the format doesn't exist

static TokenDict audioData[]

audioData[]

static TokenDict videoData[]

videoData[]


Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54.