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
/**
* @ingroup io68_lib
* @file io68/mw_io.h
* @author Benjamin Gerard
* @date 1999/03/20
* @brief STE sound IO plugin header.
*
*/
/* $Id: mw_io.h 126 2009-07-15 08:58:51Z benjihan $ */
/* Copyright (C) 1998-2009 Benjamin Gerard */
/** @addtogroup io68_lib_mw
* @{
*/
/** @name Microwire/LMC (STE sound) IO plugin.
* @{
*/
/** Init the mwio library.
*
* The mwio_init() function setup the microwire IO plugin and the
* microwire emulator library by calling the mw_init() function.
*
* @param argc pointer to argument count
* @param argv arguemnt array
* @return error status
* @retval 0 on success
* @retval -1 on success
*/
int ;
/** Shutdown mwio library. */
void ;
/** Create a microwire plugin instance. */
io68_t * ;
/** Get/Set sampling rate.
*
* @param io MW IO instance
* @param hz @ref mw_hz_e "sampling rate"
*
* @return current @ref mw_hz_e "sampling rate"
*
*/
int ;
/** Get/Set emulator engine.
*
* @param io MW IO instance
* @param engine @ref mw_engine_e "MW engine descriptor"
*
* @return @ref mw_engine_e "MW engine descriptor"
*/
uint68_t ;
/** Get microwire emulator instance attached to the mwio plugin. */
mw_t * ;
/** @} */
/**
* @}
*/
/* #ifndef _IO68_MW_IO_H_ */