struct FormatInfo
|
A structure to hold information about a data format. More... |
|
|
Public Methods
- int guessSamples (int len) const
- int dataRate () const
- inline FormatInfo ()
- inline FormatInfo (const char* _name, int fsize = 0, int ftime = 10000,
const char* _type = "audio", int srate = 8000, int nchan = 1, bool convert = false)
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
[const]
Get the data rate in bytes/s
Returns: Data rate or 0 if variable/undefined
inline FormatInfo ()
| FormatInfo |
Default constructor - used to initialize arrays
inline FormatInfo (const char* _name, int fsize = 0, int ftime = 10000,
const char* _type = "audio", int srate = 8000, int nchan = 1, bool convert = false)
| FormatInfo |
Normal constructor
Generated by: root on dragoshel on Sat Apr 14 01:50:50 2007, using kdoc 2.0a54. |