#include <ubinary.hh>
Public Types | |
enum | SampleFormat { SAMPLE_SIGNED = 1, SAMPLE_UNSIGNED = 2 } |
Public Member Functions | |
const char * | format_string () const |
Return a legible definition of imageFormat. | |
bool | operator== (const USound &b) const |
Public Attributes | |
char * | data |
pointer to sound data | |
size_t | size |
total size in byte | |
int | channels |
number of audio channels | |
int | rate |
rate in Hertz | |
int | sampleSize |
sample size in bit | |
USoundFormat | soundFormat |
format of the sound data | |
USoundSampleFormat | sampleFormat |
sample format |
This class does not handle its memory: the data field msut be freed manualy.
Definition at line 63 of file ubinary.hh.