Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
engine_rtmidi.h
1// SPDX-FileCopyrightText: © 2018-2020 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#ifndef __AUDIO_ENGINE_RTMIDI_H__
5#define __AUDIO_ENGINE_RTMIDI_H__
6
7#include "zrythm-config.h"
8
9#if HAVE_RTMIDI
10
11class AudioEngine;
12
13# if 0
22int
23engine_rtmidi_test (GtkWindow * win);
24# endif
25
29void
30engine_rtmidi_rescan_ports (AudioEngine * self);
31
37int
38engine_rtmidi_setup (AudioEngine * self);
39
43unsigned int
44engine_rtmidi_get_num_in_ports (AudioEngine * self);
45
51RtMidiPtr
52engine_rtmidi_create_in_port (
53 AudioEngine * self,
54 int open_port,
55 unsigned int device_id,
56 const char * label);
57
58void
59engine_rtmidi_tear_down (AudioEngine * self);
60
61int
62engine_rtmidi_activate (AudioEngine * self, bool activate);
63
64#endif /* HAVE_RTMIDI */
65#endif
The audio engine.
Definition engine.h:168
void activate(bool activate)
Activates the audio engine to start processing and receiving events.