Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
engine_alsa.h
1// SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#if 0
5
6# ifdef HAVE_ALSA
7
8# ifndef __AUDIO_ENGINE_ALSA_H__
9# define __AUDIO_ENGINE_ALSA_H__
10
11# include "utils/types.h"
12
13# include <stdlib.h>
14
15typedef struct AudioEngine AudioEngine;
16
21void
22engine_alsa_receive_midi_events (
23 AudioEngine * self,
24 int print);
25
33int
34engine_alsa_test (
35 GtkWindow * win);
36
37int
38engine_alsa_midi_setup (
39 AudioEngine * self);
40
46void
47engine_alsa_prepare_process (
48 AudioEngine * self);
49
54void
55engine_alsa_fill_out_bufs (
56 AudioEngine * self,
57 const nframes_t nframes);
58
62int
63engine_alsa_setup (
64 AudioEngine * self,
65 int loading);
66
67void
68engine_alsa_tear_down (void);
69
70# endif // header guard
71# endif // HAVE_ALSA
72#endif
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
Custom types.