-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtuneables.h
83 lines (69 loc) · 2.45 KB
/
tuneables.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINEASIO_TUNEABLES_H__
#define __WINEASIO_TUNEABLES_H__
/******************************************************************************
* WineASIO Defaults
*
* Change these values to taste if you want to hardcode your defaults
* and thus avoid having to pass parameters through the environment
* or set these values from the registry at run-time.
*
* FIXME: how to construct env. var names.
*/
/*
* Default number of writable JACK input ports FIXME: writable input?
* on the Windows client application.
*/
#define DEFAULT_WINEASIO_NUM_PORTS_INP 16
/*
* Default number of readable JACK output ports
* on the Windows client application.
*/
#define DEFAULT_WINEASIO_NUM_PORTS_OUT 16
/*
* Default boolean indicating whether the JACK
* buffer size should be fixed and unchangeable.
*/
// FIXME: where does the value come from if fixed?
#define DEFAULT_WINEASIO_FIXED_BUFSZ 1
/*
* Default preferred buffer size.
*/
// FIXME when is this used?
#define DEFAULT_WINEASIO_PREFERD_BUFSZ 2048
#define DEFAULT_WINEASIO_CONN_PORTS 1
#define DEFAULT_WINEASIO_START_JACK 1
/******************************************************************************
* YOU SHOULDN'T HAVE TO CHANGE THESE UNLESS YOU REALLY KNOW WHAT YOU'RE DOING
*/
// FIXME: comment these.
#define WINEASIO_MIN_BUFSZ 16
#define WINEASIO_MAX_BUFSZ 8192
/*
* Sample format to be used by JACK. FIXME
*
* Valid values are:
* - ASIOSTFloat32LSB
* - ASIOSTInt32LSB
*/
#define WINEASIO_SMPL_FMT ASIOSTFloat32LSB
#define WINEASIO_MAX_NAME_LEN 32
#define WINEASIO_MAX_ENV_LEN 6 /* max len of env. value (incl. tr. NULL) */
#define WINEASIO_VERSION 95
#define IEEE754_64FLOAT 1
// FIXME: put NATIVE IN HERE
#endif