Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
engine_rtaudio.h
1// SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#ifndef __AUDIO_ENGINE_RTAUDIO_H__
5#define __AUDIO_ENGINE_RTAUDIO_H__
6
7#include "zrythm-config.h"
8
9#ifdef HAVE_RTAUDIO
10
11# include <rtaudio_c.h>
12
13typedef struct AudioEngine AudioEngine;
14
24int
25engine_rtaudio_setup (AudioEngine * self);
26
27void
28engine_rtaudio_activate (AudioEngine * self, bool activate);
29
30rtaudio_t
31engine_rtaudio_create_rtaudio (AudioEngine * self, AudioBackend backend);
32
39void
40engine_rtaudio_get_device_names (
41 AudioEngine * self,
42 AudioBackend backend,
43 int input,
44 char ** names,
45 int * num_names);
46
55int
56engine_rtaudio_test (GtkWindow * win);
57
61void
62engine_rtaudio_tear_down (AudioEngine * engine);
63
68#endif // HAVE_RTAUDIO
69#endif
The audio engine.
Definition engine.h:358