DISTRHO Plugin Framework
|
Functions | |
bool | isUsingNativeAudio () noexcept |
bool | supportsAudioInput () |
bool | supportsBufferSizeChanges () |
bool | supportsMIDI () |
bool | isAudioInputEnabled () |
bool | isMIDIEnabled () |
uint | getBufferSize () |
bool | requestAudioInput () |
bool | requestBufferSizeChange (uint newBufferSize) |
bool | requestMIDI () |
When the plugin is running as standalone and JACK is not available, a native audio handling is in place. It is a very simple handling, auto-connecting to the default audio interface for outputs.
!!EXPERIMENTAL!!
Still under development and testing.
|
noexcept |
Check if the current standalone is using native audio methods. If this function returns false, you MUST NOT use any other function from this group.
bool supportsAudioInput | ( | ) |
Check if the current standalone supports audio input.
bool supportsBufferSizeChanges | ( | ) |
Check if the current standalone supports dynamic buffer size changes.
bool supportsMIDI | ( | ) |
Check if the current standalone supports MIDI.
bool isAudioInputEnabled | ( | ) |
Check if the current standalone has audio input enabled.
bool isMIDIEnabled | ( | ) |
Check if the current standalone has MIDI enabled.
uint getBufferSize | ( | ) |
Get the current buffer size.
bool requestAudioInput | ( | ) |
Request permissions to use audio input. Only valid to call if audio input is supported but not currently enabled.
bool requestBufferSizeChange | ( | uint | newBufferSize | ) |
Request change to a new buffer size.
bool requestMIDI | ( | ) |
Request permissions to use MIDI. Only valid to call if MIDI is supported but not currently enabled.