Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
engine_pa.h
1// SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#include "zrythm-config.h"
5
6#ifdef HAVE_PORT_AUDIO
7
8# ifndef __AUDIO_ENGINE_PA_H__
9# define __AUDIO_ENGINE_PA_H__
10
11# include <portaudio.h>
12
13typedef struct AudioEngine AudioEngine;
14
24int
25engine_pa_setup (AudioEngine * self);
26
27void
28engine_pa_fill_out_bufs (AudioEngine * self, const nframes_t nframes);
29
38int
39engine_pa_test (GtkWindow * win);
40
44void
45engine_pa_tear_down (AudioEngine * engine);
46
51# endif
52#endif // HAVE_PORT_AUDIO
uint32_t nframes_t
Frame count.
Definition types.h:39
The audio engine.
Definition engine.h:353
nframes_t nframes
Number of frames/samples in the current cycle, per channel.
Definition engine.h:499