11namespace tracktion {
inline namespace engine
29 void resetToDefault();
30 void setEnabled (
bool)
override;
32 DeviceType getDeviceType()
const override {
return deviceType; }
36 void setRecordAdjustmentMs (
double ms);
37 double getRecordAdjustmentMs()
const {
return recordAdjustMs; }
38 bool isStereoPair()
const;
39 void setStereoPair (
bool);
41 void setBitDepth (
int);
42 int getBitDepth()
const {
return bitDepth; }
44 void setInputGainDb (
float gain);
45 float getInputGainDb()
const {
return inputGainDb; }
46 void setRecordTriggerDb (
float);
47 float getRecordTriggerDb()
const {
return recordTriggerDb; }
49 juce::String getFilenameMask()
const {
return filenameMask; }
50 void setFilenameMaskToDefault();
54 juce::String getOutputFormat()
const {
return outputFormat; }
63 void consumeNextAudioBlock (
const float*
const* allChannels,
int numChannels,
int numSamples,
double streamTime);
66 void updateRetrospectiveBufferLength (
double length)
override;
84 float inputGainDb = 0;
86 int bitDepth = 0, mergeMode = 0;
87 float recordTriggerDb = 0;
88 double recordAdjustMs = 0;
92 void saveProps()
override;
133 void timerCallback()
override;
139 bool hasWarned =
false, hasSentStop =
false;
144 void prepareToStart();
Smart wrapper for writing to an audio file.
The Engine is the central class for all tracktion sessions.
Represents a duration in real-life time.
Describes a WaveDevice from which the WaveOutputDevice and WaveInputDevice lists will be built.