Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
ext_port.h File Reference

External ports. More...

#include "zrythm-config.h"
#include "dsp/fader.h"
#include "plugins/plugin.h"
#include "utils/audio.h"
#include "utils/types.h"
#include "utils/yaml.h"
#include <gdk/gdk.h>
Include dependency graph for ext_port.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExtPort
 External port. More...
 

Macros

#define EXT_PORT_SCHEMA_VERSION   1
 
#define EXT_PORTS_MAX   1024
 Maximum external ports.
 
#define ext_port_is_in_active_project(self)
 

Typedefs

typedef struct WindowsMmeDevice WindowsMmeDevice
 

Enumerations

enum  ExtPortType {
  EXT_PORT_TYPE_JACK , EXT_PORT_TYPE_ALSA , EXT_PORT_TYPE_WINDOWS_MME , EXT_PORT_TYPE_RTMIDI ,
  EXT_PORT_TYPE_RTAUDIO
}
 External port type. More...
 

Functions

COLD NONNULL_ARGS (1) void automation_tracklist_init_loaded(AutomationTracklist *self
 Inits a loaded AutomationTracklist.
 
void ext_port_print (ExtPort *self)
 Prints the port info.
 
bool ext_port_matches_backend (ExtPort *self)
 Returns if the ext port matches the current backend.
 
NONNULL bool ext_ports_equal (const ExtPort *a, const ExtPort *b)
 
float * ext_port_get_buffer (ExtPort *ext_port, nframes_t nframes)
 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_disconnect (ExtPort *ext_port, Port *port, int src)
 Disconnects the Port from the ExtPort.
 
int ext_port_activate (ExtPort *self, Port *port, bool activate)
 Activates the port (starts receiving data) or deactivates it.
 
bool ext_port_get_enabled (ExtPort *self)
 Checks in the GSettings whether this port is marked as enabled by the user.
 
void ext_ports_get (PortType type, PortFlow flow, bool hw, GPtrArray *ports)
 Collects external ports of the given type.
 
ExtPortext_port_clone (ExtPort *ext_port)
 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.
 

Variables

COLD HardwareProcessorhw_processor
 

Detailed Description

External ports.

Definition in file ext_port.h.

Typedef Documentation

◆ WindowsMmeDevice

typedef struct WindowsMmeDevice WindowsMmeDevice

Definition at line 31 of file ext_port.h.