LogoSearch packages:      

Sourcecode: audacity version File versions

Mixer Class Reference

List of all members.


Detailed Description

Functions for doing the mixdown of the tracks.

Definition at line 56 of file Mix.h.


Public Member Functions

void ApplyTrackGains (bool apply=true)
samplePtr GetBuffer (int channel)
 Retrieve one of the non-interleaved buffers.
samplePtr GetBuffer ()
 Retrieve the main buffer or the interleaved buffer.
 Mixer (int numInputTracks, WaveTrack **inputTracks, TimeTrack *timeTrack, double startTime, double stopTime, int numOutChannels, int outBufferSize, bool outInterleaved, double outRate, sampleFormat outFormat, bool highQuality=true, MixerSpec *mixerSpec=NULL)
double MixGetCurrentTime ()
 Current time in seconds.
sampleCount Process (sampleCount maxSamples)
void Reposition (double t)
void Restart ()

Private Member Functions

void Clear ()
sampleCount MixSameRate (int *channelFlags, WaveTrack *src, longSampleCount *pos)
sampleCount MixVariableRates (int *channelFlags, WaveTrack *track, longSampleCount *pos, float *queue, int *queueStart, int *queueLen, Resample *SRC)

Private Attributes

bool mApplyTrackGains
samplePtr * mBuffer
int mBufferSize
double * mEnvValues
float * mFloatBuffer
sampleFormat mFormat
float * mGains
WaveTrack ** mInputTrack
bool mInterleaved
int mInterleavedBufferSize
int mMaxOut
MixerSpecmMixerSpec
int mNumBuffers
int mNumChannels
int mNumInputTracks
int mProcessLen
int * mQueueLen
int mQueueMaxLen
int * mQueueStart
double mRate
longSampleCount * mSamplePos
float ** mSampleQueue
Resample ** mSRC
double mT
double mT0
double mT1
samplePtr * mTemp
TimeTrackmTimeTrack

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.5.1   Back to index