LMMS
Loading...
Searching...
No Matches
hylia.h
Go to the documentation of this file.
1/*
2 * This file is part of Hylia.
3 *
4 * Hylia is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * Hylia is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with Hylia. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef HYLIA_H_INCLUDED
19#define HYLIA_H_INCLUDED
20
21#include <stdint.h>
22
23#ifdef __cplusplus
24extern "C" {
25#else
26#include <stdbool.h>
27#endif
28
29typedef struct _hylia_t hylia_t;
30
35
37void hylia_enable(hylia_t* link, bool on);
39void hylia_set_beats_per_bar(hylia_t* link, double beatsPerBar);
40void hylia_set_beats_per_minute(hylia_t* link, double beatsPerMinute);
41void hylia_set_output_latency(hylia_t* link, uint32_t latency);
42void hylia_set_start_stop_sync_enabled(hylia_t* link, bool enabled);
44void hylia_stop_playing(hylia_t* link);
45void hylia_cleanup(hylia_t* link);
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif // HYLIA_H_INCLUDED
void hylia_set_start_stop_sync_enabled(hylia_t *link, bool enabled)
Definition hylia.cpp:132
void hylia_set_beats_per_bar(hylia_t *link, double beatsPerBar)
Definition hylia.cpp:117
void hylia_cleanup(hylia_t *link)
Definition hylia.cpp:152
struct _hylia_time_info_t hylia_time_info_t
void hylia_start_playing(hylia_t *link)
Definition hylia.cpp:137
struct _hylia_t hylia_t
Definition hylia.h:29
void hylia_set_beats_per_minute(hylia_t *link, double beatsPerMinute)
Definition hylia.cpp:122
void hylia_enable(hylia_t *link, bool on)
Definition hylia.cpp:112
void hylia_stop_playing(hylia_t *link)
Definition hylia.cpp:142
void hylia_set_output_latency(hylia_t *link, uint32_t latency)
Definition hylia.cpp:127
hylia_t * hylia_create(void)
Definition hylia.cpp:99
void hylia_process(hylia_t *link, uint32_t frames, hylia_time_info_t *info)
Definition hylia.cpp:147
struct backing_store_struct * info
Definition jmemsys.h:183
unsigned int uint32_t
Definition mid.cpp:100
Definition hylia.h:31
double beatsPerMinute
Definition hylia.h:32
bool playing
Definition hylia.h:33
double phase
Definition hylia.h:32
double beatsPerBar
Definition hylia.h:32
double beat
Definition hylia.h:32