|
LMMS
|
#include <resize-port.h>
Public Attributes | |
| LV2_Resize_Port_Feature_Data | data |
| LV2_Resize_Port_Status(* | resize )(LV2_Resize_Port_Feature_Data data, uint32_t index, size_t size) |
Host feature to allow plugins to resize their port buffers.
| LV2_Resize_Port_Feature_Data LV2_Resize_Port_Resize::data |
Opaque data for resize method.
| LV2_Resize_Port_Status(* LV2_Resize_Port_Resize::resize)(LV2_Resize_Port_Feature_Data data, uint32_t index, size_t size) |
Resize a port buffer to at least size bytes.
This function MAY return an error, in which case the port buffer was not resized and the port is still connected to the same location. Plugins MUST gracefully handle this situation.
This function is in the audio threading class.
The host MUST preserve the contents of the port buffer when resizing.
Plugins MAY resize a port many times in a single run callback. Hosts SHOULD make this as inexpensive as possible.