struct FormatInfo

A structure to hold information about a data format. More...

Full nameTelEngine::FormatInfo
Definition#include <telephony.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

A structure to hold information about a data format.

const char* name

name

const char* type

type

int dataRate

dataRate

int frameSize

frameSize

int sampleRate

sampleRate

int numChannels

numChannels

int  guessSamples (int len)

guessSamples

[const]

Guess the number of samples in an encoded data block

Parameters:
lenLength of the data block in octets

Returns: Number of samples or 0 if unknown

inline  FormatInfo ()

FormatInfo

Default constructor - used to initialize arrays

inline  FormatInfo (const char* _name, int drate, int fsize = 0, const char* _type = "audio", int srate = 8000, int nchan = 1)

FormatInfo

Normal constructor


Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54.