Zrythm
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#ifdef HAVE_RTMIDI
10
11typedef struct AudioEngine AudioEngine;
12
21int
22engine_rtmidi_test (GtkWindow * win);
23
27void
28engine_rtmidi_rescan_ports (AudioEngine * self);
29
35int
36engine_rtmidi_setup (AudioEngine * self);
37
41unsigned int
42engine_rtmidi_get_num_in_ports (AudioEngine * self);
43
49RtMidiPtr
50engine_rtmidi_create_in_port (
51 AudioEngine * self,
52 int open_port,
53 unsigned int device_id,
54 const char * label);
55
56void
57engine_rtmidi_tear_down (AudioEngine * self);
58
59int
60engine_rtmidi_activate (AudioEngine * self, bool activate);
61
62#endif /* HAVE_RTMIDI */
63#endif
The audio engine.
Definition engine.h:353