12#ifndef __AUDACITY_MIX__
13#define __AUDACITY_MIX__
48 double startTime,
double stopTime,
49 unsigned numOutChannels,
size_t outBufferSize,
bool outInterleaved,
51 bool highQuality =
true,
54 bool applytTrackGains =
true);
75 size_t Process(
size_t maxSamples);
83 void Reposition(
double t,
bool bSkipping =
false);
86 void SetTimesAndSpeed(
87 double t0,
double t1,
double speed,
bool bSkipping =
false);
88 void SetSpeedForKeyboardScrubbing(
double speed,
double startTime);
92 double MixGetCurrentTime();
130 std::vector<std::vector<float>>
mTemp;
std::vector< std::shared_ptr< const SampleTrack > > SampleTrackConstArray
Accumulates (non-interleaved) data during effect processing.
Functions for doing the mixdown of the tracks.
AudioGraph::Buffers mFloatBuffers
const std::vector< SampleBuffer > mBuffer
const bool mApplyTrackGains
const sampleFormat mFormat
std::vector< std::vector< float > > mTemp
const unsigned mNumChannels
Mixer(const Mixer &)=delete
std::vector< MixerSource > mSources
size_t BufferSize() const
Mixer & operator=(const Mixer &)=delete
const std::shared_ptr< TimesAndSpeed > mTimesAndSpeed
A matrix of booleans, one row per input channel, column per output.
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
Positions or offsets within audio files need a wide type.
Immutable structure is an argument to Mixer's constructor.