|
Zrythm
a highly automated and intuitive digital audio workstation
|
External port. More...
#include <dsp/ext_port.h>

Public Member Functions | |
| MALLOC NONNULL char * | ext_port_get_id (ExtPort *ext_port) |
| Returns a unique identifier (full name prefixed with backend type). | |
| NONNULL char * | ext_port_get_friendly_name (ExtPort *self) |
| Returns a user-friendly display name (eg, to be used in dropdowns). | |
Data Fields | |
| int | schema_version |
| void * | jport |
| JACK port. | |
| char * | full_name |
| Full port name, used also as ID. | |
| char * | short_name |
| Short port name. | |
| char * | alias1 |
| Alias #1 if any. | |
| char * | alias2 |
| Alias #2 if any. | |
| int | num_aliases |
| void * | mme_dev |
| unsigned int | rtaudio_channel_idx |
| RtAudio channel index. | |
| char * | rtaudio_dev_name |
| RtAudio device name. | |
| unsigned int | rtaudio_id |
| RtAudio device ID (NOT index!!!). | |
| bool | rtaudio_is_input |
| Whether the channel is input. | |
| bool | rtaudio_is_duplex |
| void * | rtaudio_dev |
| unsigned int | rtmidi_id |
| RtMidi port index. | |
| void * | rtmidi_dev |
| ExtPortType | type |
| bool | is_midi |
| True if MIDI, false if audio. | |
| int | hw_processor_index |
| Index in the HW processor (cache for real-time use) | |
| HardwareProcessor * | hw_processor |
| Pointer to owner hardware processor, if any. | |
| bool | active |
| Whether the port is active and receiving events (for use by hw processor). | |
| bool | pending_reconnect |
| Set to true when a hardware port is disconnected. | |
| Port * | port |
| Temporary port to receive data. | |
External port.
Definition at line 68 of file ext_port.h.
| bool ExtPort::active |
Whether the port is active and receiving events (for use by hw processor).
Definition at line 147 of file ext_port.h.
| char* ExtPort::alias1 |
Alias #1 if any.
Definition at line 86 of file ext_port.h.
| char* ExtPort::alias2 |
Alias #2 if any.
Definition at line 89 of file ext_port.h.
| char* ExtPort::full_name |
Full port name, used also as ID.
Definition at line 80 of file ext_port.h.
| HardwareProcessor* ExtPort::hw_processor |
Pointer to owner hardware processor, if any.
Definition at line 143 of file ext_port.h.
| int ExtPort::hw_processor_index |
Index in the HW processor (cache for real-time use)
Definition at line 140 of file ext_port.h.
| bool ExtPort::is_midi |
True if MIDI, false if audio.
Definition at line 136 of file ext_port.h.
| void* ExtPort::jport |
JACK port.
Definition at line 76 of file ext_port.h.
| void* ExtPort::mme_dev |
Definition at line 102 of file ext_port.h.
| int ExtPort::num_aliases |
Definition at line 91 of file ext_port.h.
| bool ExtPort::pending_reconnect |
Set to true when a hardware port is disconnected.
Hardware processor will then attempt to reconnect next scan.
Definition at line 156 of file ext_port.h.
| Port* ExtPort::port |
Temporary port to receive data.
Definition at line 161 of file ext_port.h.
| unsigned int ExtPort::rtaudio_channel_idx |
RtAudio channel index.
Definition at line 106 of file ext_port.h.
| void* ExtPort::rtaudio_dev |
Definition at line 121 of file ext_port.h.
| char* ExtPort::rtaudio_dev_name |
RtAudio device name.
Definition at line 109 of file ext_port.h.
| unsigned int ExtPort::rtaudio_id |
RtAudio device ID (NOT index!!!).
Definition at line 112 of file ext_port.h.
| bool ExtPort::rtaudio_is_duplex |
Definition at line 116 of file ext_port.h.
| bool ExtPort::rtaudio_is_input |
Whether the channel is input.
Definition at line 115 of file ext_port.h.
| void* ExtPort::rtmidi_dev |
Definition at line 130 of file ext_port.h.
| unsigned int ExtPort::rtmidi_id |
RtMidi port index.
Definition at line 125 of file ext_port.h.
| int ExtPort::schema_version |
Definition at line 70 of file ext_port.h.
| char* ExtPort::short_name |
Short port name.
Definition at line 83 of file ext_port.h.
| ExtPortType ExtPort::type |
Definition at line 133 of file ext_port.h.