struct FormatInfo
|
A structure to hold information about a data format. More... |
|
|
Public Methods
- int guessSamples (int len) const
- inline FormatInfo ()
- inline FormatInfo (const char* _name, int drate, int fsize = 0, const char* _type = "audio", int srate = 8000, int nchan = 1)
Public Members
A structure to hold information about a data format.
int sampleRate
| sampleRate |
int numChannels
| numChannels |
int guessSamples (int len)
| guessSamples |
[const]
Guess the number of samples in an encoded data block
Parameters:
len | Length 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. |