Mercurial > hg > sv-dependency-builds
comparison src/portaudio/bindings/cpp/include/portaudiocpp/AsioDeviceAdapter.hxx @ 4:e13257ea84a4
Add bzip2, zlib, liblo, portaudio sources
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 13:59:52 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:6c505a35919a | 4:e13257ea84a4 |
---|---|
1 #ifndef INCLUDED_PORTAUDIO_ASIODEVICEADAPTER_HXX | |
2 #define INCLUDED_PORTAUDIO_ASIODEVICEADAPTER_HXX | |
3 | |
4 namespace portaudio | |
5 { | |
6 | |
7 // Forward declaration(s): | |
8 class Device; | |
9 | |
10 // Declaration(s): | |
11 ////// | |
12 /// @brief Adapts the given Device to an ASIO specific extension. | |
13 /// | |
14 /// Deleting the AsioDeviceAdapter does not affect the underlaying | |
15 /// Device. | |
16 ////// | |
17 class AsioDeviceAdapter | |
18 { | |
19 public: | |
20 AsioDeviceAdapter(Device &device); | |
21 | |
22 Device &device(); | |
23 | |
24 long minBufferSize() const; | |
25 long maxBufferSize() const; | |
26 long preferredBufferSize() const; | |
27 long granularity() const; | |
28 | |
29 void showControlPanel(void *systemSpecific); | |
30 | |
31 const char *inputChannelName(int channelIndex) const; | |
32 const char *outputChannelName(int channelIndex) const; | |
33 | |
34 private: | |
35 Device *device_; | |
36 | |
37 long minBufferSize_; | |
38 long maxBufferSize_; | |
39 long preferredBufferSize_; | |
40 long granularity_; | |
41 }; | |
42 } | |
43 | |
44 #endif // INCLUDED_PORTAUDIO_ASIODEVICEADAPTER_HXX |