MPEG SDK --> MpegDecoder
The SoundBite class represents a decodeable/playable unit of sound from the MPEG audio stream. It is roughly parallel to a "picture" in the video stream.
The SoundBite class is the abstract class that defines the number of samples, the number of channels, and the sample frequency of the unit. Derived classes instantiate a unit of audio for different audio formats.
friend std_ostream & operator << ( std_ostream & out , const SoundBite & x ) ; | Debugging Print |
SoundBite
SoundBite
SoundBite
~SoundBite
_empty
_nch
_numsamples
_sampling_frequency
empty
getNumSamples
getSamplingFrequency
nch
timePerSample
public SoundBite ( ) ;
Default Constructor.
public SoundBite ( int nch ,
int numsamples ,
float samplingfreq ) ;
public SoundBite ( SoundBite & x ) ;
public virtual ~ SoundBite ( ) ;
protected int _nch
protected int _numsamples
protected float _sampling_frequency
protected bool _empty
public int nch ( ) const ;
Return the number of audio channels.
public int getNumSamples ( ) const ;
Return the number of samples per channel.
public float getSamplingFrequency ( ) const ;
Return the sampling frequency of the samples.
public float timePerSample ( ) const ;
Return the time in seconds per sample.
public bool empty ( ) const ;
Whether the SoundBite is empty of samples.
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.