To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
The primary repository for this project is hosted at https://github.com/sonic-visualiser/sv-dependency-builds .
This repository is a read-only copy which is updated automatically every hour.
root / src / portaudio_20161030_catalina_patch / bindings / cpp / include / portaudiocpp / AsioDeviceAdapter.hxx @ 162:d43aab368df9
History | View | Annotate | Download (923 Bytes)
| 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 |