78 void setGain (
float newGain)
noexcept;
91 int numSamples)
override;
97 void audioDeviceStopped()
override;
100 void prepareToPlay (
double sampleRate,
int blockSize);
106 double sampleRate = 0;
108 float* channels[128];
109 float* outputChans[128];
110 const float* inputChans[128];
112 float lastGain = 1.0f, gain = 1.0f;
Holds a resizable array of primitive or copy-by-value objects.
One of these is passed to an AudioIODevice object to stream the audio data in and out.
Base class for an audio device with synchronised input and output channels.
Wrapper class to continuously stream audio from an audio source to an AudioIODevice.
float getGain() const noexcept
Returns the current gain.
AudioSource * getCurrentSource() const noexcept
Returns the source that's playing.
Base class for objects that can produce a continuous stream of audio.
#define JUCE_API
This macro is added to all JUCE public class declarations.