#include <yatephone.h>
Inheritance diagram for DataFormat:

Public Member Functions | |
| DataFormat () | |
| DataFormat (const char *value) | |
| DataFormat (const DataFormat &value) | |
| DataFormat (const String &value) | |
| DataFormat (const String *value) | |
| DataFormat (const FormatInfo *format) | |
| DataFormat & | operator= (const DataFormat &value) |
| const FormatInfo * | getInfo () const |
| int | frameSize (int defValue=0) const |
| int | frameTime (int defValue=0) const |
| int | sampleRate (int defValue=0) const |
| int | numChannels (int defValue=1) const |
Protected Member Functions | |
| virtual void | changed () |
An extension of a String that can parse data formats
|
|
Creates a new, empty format string. |
|
|
Creates a new initialized format.
|
|
|
Copy constructor.
|
|
|
Constructor from String reference
|
|
|
Constructor from String pointer.
|
|
|
Constructor from format information
|
|
|
Called whenever the value changed (except in constructors). Reimplemented from String. |
|
|
Retrive the frame size
|
|
|
Retrive the frame time
|
|
|
Retrive a pointer to the format information
|
|
|
Retrive the number of channels
|
|
|
Assignment operator. |
|
|
Retrive the sample rate
|
1.4.4