audio/ext_port.h file

External ports.

Contents

Classes

struct ExtPort
External port.

Enums

enum ExtPortType { EXT_PORT_TYPE_JACK, EXT_PORT_TYPE_ALSA }
External port type.

Typedefs

using ExtPortType = enum ExtPortType
External port type.
using ExtPort = struct ExtPort
External port.

Functions

void ext_port_init_loaded(ExtPort* ext_port)
Inits the ExtPort after loading a project.
auto ext_port_get_buffer(ExtPort* ext_port, nframes_t nframes) -> float*
Returns the buffer of the external port.
void ext_port_clear_buffer(ExtPort* ext_port, nframes_t nframes)
Clears the buffer of the external port.
void ext_port_connect(ExtPort* ext_port, Port* port, int src)
Exposes the given Port if not exposed and makes the connection from the Port to the ExtPort (eg in JACK) or backwards.
void ext_port_disconnect(ExtPort* ext_port, Port* port, int src)
Disconnects the Port from the ExtPort.
void ext_ports_get(PortType type, PortFlow flow, int hw, ExtPort** ports, int* size)
Collects external ports of the given type.
auto ext_port_clone(ExtPort* ext_port) -> ExtPort*
Creates a shallow clone of the port.
void ext_ports_free(ExtPort** ext_port, int size)
Frees an array of ExtPort pointers.
void ext_port_free(ExtPort* ext_port)
Frees the ext_port.