virtual void audioDeviceIOCallbackWithContext(const float *const *inputChannelData, int numInputChannels, float *const *outputChannelData, int numOutputChannels, int numSamples, const AudioIODeviceCallbackContext &context)
Processes a block of incoming and outgoing audio data.
virtual void audioDeviceError(const String &errorMessage)
This can be overridden to be told if the device generates an error while operating.
virtual bool hasControlPanel() const
True if this device can show a pop-up control panel for editing its settings.
AudioIODevice(const String &deviceName, const String &typeName)
Creates a device, setting its name and type member variables.
virtual int getXRunCount() const noexcept
Returns the number of under- or over runs reported by the OS since playback/recording has started.
virtual bool showControlPanel()
Shows a device-specific control panel if there is one.
virtual ~AudioIODevice()
Destructor.
virtual bool setAudioPreprocessingEnabled(bool shouldBeEnabled)
On devices which support it, this allows automatic gain control or other mic processing to be disable...
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
Additional information that may be passed to the AudioIODeviceCallback.