class DataFormat

This class represents an utility

Public Methods

static const uint32 bytesInSample(FormatCode format)
returns the number of bytes which make a single sample
static const char* name(FormatCode format)
returns the name of the specified format

Private Fields

static const uint32 bytes[]
Table of sample sizes.
static const char* names[]
Table of format names.

Documentation

This class represents an utility. It encapsulates informations about audio formats as the format name, number of bytes per sample, encoding format etc.
static const char* name(FormatCode format)
returns the name of the specified format.
Returns:
name string
Parameters:
format - a known audio format

static const uint32 bytesInSample(FormatCode format)
returns the number of bytes which make a single sample.
Returns:
number of bytes
Parameters:
format - a known audio format

static const char* names[]
Table of format names.

static const uint32 bytes[]
Table of sample sizes.


This class has no child classes.
Author:
Silvia Pfeiffer, Peter Tomczyk
Version:
$Id: auformat.h,v 1.5 1998/04/14 10:26:27 tomczyk Exp $
See Also:
FormatCode

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de