DISTRHO Plugin Framework
Functions
Plugin related utilities

Functions

bool isUsingNativeAudio () noexcept
 
bool supportsAudioInput ()
 
bool supportsBufferSizeChanges ()
 
bool supportsMIDI ()
 
bool isAudioInputEnabled ()
 
bool isMIDIEnabled ()
 
uint getBufferSize ()
 
bool requestAudioInput ()
 
bool requestBufferSizeChange (uint newBufferSize)
 
bool requestMIDI ()
 

Detailed Description

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.

Function Documentation

◆ isUsingNativeAudio()

bool isUsingNativeAudio ( )
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.

◆ supportsAudioInput()

bool supportsAudioInput ( )

Check if the current standalone supports audio input.

◆ supportsBufferSizeChanges()

bool supportsBufferSizeChanges ( )

Check if the current standalone supports dynamic buffer size changes.

◆ supportsMIDI()

bool supportsMIDI ( )

Check if the current standalone supports MIDI.

◆ isAudioInputEnabled()

bool isAudioInputEnabled ( )

Check if the current standalone has audio input enabled.

◆ isMIDIEnabled()

bool isMIDIEnabled ( )

Check if the current standalone has MIDI enabled.

◆ getBufferSize()

uint getBufferSize ( )

Get the current buffer size.

◆ requestAudioInput()

bool requestAudioInput ( )

Request permissions to use audio input. Only valid to call if audio input is supported but not currently enabled.

◆ requestBufferSizeChange()

bool requestBufferSizeChange ( uint  newBufferSize)

Request change to a new buffer size.

◆ requestMIDI()

bool requestMIDI ( )

Request permissions to use MIDI. Only valid to call if MIDI is supported but not currently enabled.