-
Notifications
You must be signed in to change notification settings - Fork 1
/
bfrun.h
66 lines (51 loc) · 1002 Bytes
/
bfrun.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
* (c) Copyright 2001, 2003 -- Anders Torger
*
* This program is open source. For license terms, see the LICENSE file.
*
*/
#ifndef _BFRUN_H_
#define _BFRUN_H_
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include "defs.h"
#include "bfmod.h"
#include "dither.h"
#include "convolver.h"
struct filter_process {
int n_unique_channels[2];
int *unique_channels[2];
int n_filters;
struct bffilter *filters;
};
void
bfrun(void);
void
bf_callback_ready(int io);
void
bf_reset_peak(void);
void
bf_register_process(pid_t pid);
void
bf_exit(int status);
double
bf_realtime_index(void);
void
bf_make_realtime(pid_t pid,
int priority,
const char name[]);
int
bflogic_command(int modindex,
const char params[],
char **message);
const char **
bflogic_names(int *n_names);
const char **
bfio_names(int io,
int *n_names);
void
bfio_range(int io,
int modindex,
int range[2]);
#endif