Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
engine_windows_mme.h
1/* SPDX-License-Identifier: LicenseRef-ZrythmLicense */
2/*
3 * SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
4 */
5
6#ifndef __AUDIO_ENGINE_WINDOWS_MME_H__
7#define __AUDIO_ENGINE_WINDOWS_MME_H__
8
9#include "zrythm-config.h"
10
11#ifdef _WIN32
12
13# include <windows.h>
14
15# include <gtk/gtk.h>
16
17typedef struct AudioEngine AudioEngine;
18typedef struct WindowsMmeDevice WindowsMmeDevice;
19
29int
30engine_windows_mme_get_num_devices (int input);
31
37int
38engine_windows_mme_get_error (
39 MMRESULT error_code,
40 int input,
41 char * buf,
42 int buf_size);
43
47void
48engine_windows_mme_print_error (MMRESULT error_code, int input);
49
53int
54engine_windows_mme_setup (AudioEngine * self);
55
59int
60engine_windows_mme_activate (AudioEngine * self, bool activate);
61
69int
70engine_windows_mme_rescan_devices (AudioEngine * self, int start);
71
72int
73engine_windows_mme_tear_down (AudioEngine * self);
74
83int
84engine_windows_mme_test (GtkWindow * win);
85
90#endif // _WIN32
91#endif
The audio engine.
Definition engine.h:353