~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to lib-src/rtaudio/tests/Windows/asiodrivers.h

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __AsioDrivers__
2
 
#define __AsioDrivers__
3
 
 
4
 
#include "ginclude.h"
5
 
 
6
 
#if MAC
7
 
#include "CodeFragments.hpp"
8
 
 
9
 
class AsioDrivers : public CodeFragments
10
 
 
11
 
#elif WINDOWS
12
 
#include <windows.h>
13
 
#include "asiolist.h"
14
 
 
15
 
class AsioDrivers : public AsioDriverList
16
 
 
17
 
#elif SGI || BEOS
18
 
#include "asiolist.h"
19
 
 
20
 
class AsioDrivers : public AsioDriverList
21
 
 
22
 
#else
23
 
#error implement me
24
 
#endif
25
 
 
26
 
{
27
 
public:
28
 
        AsioDrivers();
29
 
        ~AsioDrivers();
30
 
        
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;
39
 
};
40
 
 
41
 
#endif