Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
engine_pulse.h
1// SPDX-FileCopyrightText: © 2020 Ryan Gonzalez <rymg19 at gmail dot com>
2// SPDX-License-Identifier: AGPL-3.0-or-later
3
4#include "zrythm-config.h"
5
6#if HAVE_PULSEAUDIO
7
8# ifndef __AUDIO_ENGINE_PULSE_H__
9# define __AUDIO_ENGINE_PULSE_H__
10
11# include "utils/types.h"
12
13# include "gtk_wrapper.h"
14# include <pulse/pulseaudio.h>
15
16class AudioEngine;
17
23
27int
28engine_pulse_setup (AudioEngine * self);
29
30void
31engine_pulse_activate (AudioEngine * self, gboolean activate);
32
41int
42engine_pulse_test (GtkWindow * win);
43
47void
48engine_pulse_tear_down (AudioEngine * engine);
49
53
54# endif
55#endif // HAVE_PULSEAUDIO
The audio engine.
Definition engine.h:168
void activate(bool activate)
Activates the audio engine to start processing and receiving events.
Custom types.