urbi::USound Class Reference

Class encapsulating sound information. More...

#include <ubinary.hh>

List of all members.

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


Detailed Description

Class encapsulating sound information.

This class does not handle its memory: the data field msut be freed manualy.

Definition at line 63 of file ubinary.hh.


The documentation for this class was generated from the following files:
Generated on Tue Apr 10 17:45:45 2007 for URBISDK by  doxygen 1.5.1