LMMS
Loading...
Searching...
No Matches
asiolist.h
Go to the documentation of this file.
1#ifndef __asiolist__
2#define __asiolist__
3
4#define DRVERR -5000
5#define DRVERR_INVALID_PARAM DRVERR-1
6#define DRVERR_DEVICE_ALREADY_OPEN DRVERR-2
7#define DRVERR_DEVICE_NOT_FOUND DRVERR-3
8
9#define MAXPATHLEN 512
10#define MAXDRVNAMELEN 128
11
21
24
26public:
29
30 LONG asioOpenDriver (int,VOID **);
32
33 // nice to have
34 LONG asioGetNumDev (VOID);
35 LONG asioGetDriverName (int,char *,int);
36 LONG asioGetDriverPath (int,char *,int);
37 LONG asioGetDriverCLSID (int,CLSID *);
38
39 // or use directly access
41 int numdrv;
42};
43
45
46#endif
struct asiodrvstruct ASIODRVSTRUCT
Definition asiolist.h:22
class AsioDriverList * LPASIODRIVERLIST
Definition asiolist.h:44
ASIODRVSTRUCT * LPASIODRVSTRUCT
Definition asiolist.h:23
#define MAXDRVNAMELEN
Definition asiolist.h:10
#define MAXPATHLEN
Definition asiolist.h:9
Definition asiolist.h:25
AsioDriverList()
Definition asiolist.cpp:162
LONG asioOpenDriver(int, VOID **)
Definition asiolist.cpp:215
LPASIODRVSTRUCT lpdrvlist
Definition asiolist.h:40
~AsioDriverList()
Definition asiolist.cpp:200
LONG asioCloseDriver(int)
Definition asiolist.cpp:240
LONG asioGetDriverCLSID(int, CLSID *)
Definition asiolist.cpp:295
int numdrv
Definition asiolist.h:41
LONG asioGetDriverName(int, char *, int)
Definition asiolist.cpp:256
LONG asioGetDriverPath(int, char *, int)
Definition asiolist.cpp:278
LONG asioGetNumDev(VOID)
Definition asiolist.cpp:209
Definition asiolist.h:13
CLSID clsid
Definition asiolist.h:15
char dllpath[MAXPATHLEN]
Definition asiolist.h:16
char drvname[MAXDRVNAMELEN]
Definition asiolist.h:17
struct asiodrvstruct * next
Definition asiolist.h:19
int drvID
Definition asiolist.h:14
LPVOID asiodrv
Definition asiolist.h:18
signed int LONG
Definition swell-types.h:182
void * LPVOID
Definition swell-types.h:174