Cleanup
[carla.git] / source / modules / rtaudio / include / asiodrivers.h
blob2ddf7ad0218a140bb3405431a7a19cb192fcacca
1 #ifndef __AsioDrivers__
2 #define __AsioDrivers__
4 #include "ginclude.h"
6 #if MAC
7 #include "CodeFragments.hpp"
9 class AsioDrivers : public CodeFragments
11 #elif WINDOWS
12 #include <windows.h>
13 #include "asiolist.h"
15 class AsioDrivers : public AsioDriverList
17 #elif SGI || BEOS
18 #include "asiolist.h"
20 class AsioDrivers : public AsioDriverList
22 #else
23 #error implement me
24 #endif
27 public:
28 AsioDrivers();
29 ~AsioDrivers();
31 bool getCurrentDriverName(char *name);
32 long getDriverNames(char **names, long maxDrivers);
33 bool loadDriver(char *name);
34 void removeCurrentDriver();
35 long getCurrentDriverIndex() {return curIndex;}
36 protected:
37 unsigned long connID;
38 long curIndex;
41 #endif