Class implementing audio capture device-specific operations.
More...
#include </home/chochlik/devel/oglplus/include/oalplus/device.hpp>
|
| const ALchar * | Specifier (void) const |
| | Returns the capture device specifier string. More...
|
| |
| void | Start (void) |
| | Starts audio capture on this device. More...
|
| |
| void | Stop (void) |
| | Stop audio capture on this device. More...
|
| |
| ALCsizei | Samples (void) const |
| | Gets the number of samples captured on this device. More...
|
| |
| void | Samples (ALCvoid *buffer, ALCsizei samples) const |
| | Gets the samples captured on this device. More...
|
| |
template<>
class oalplus::DeviceOps< tag::Capture >
Class implementing audio capture device-specific operations.
- Note
- Do not use this class directly, use Device instead.
| static Range<String> oalplus::DevCommonOps::Extensions |
( |
void |
| ) |
|
|
staticinherited |
Returns a range of ALC extension strings.
- Related OpenAL symbols:
alGetString AL_EXTENSIONS
| ALCsizei oalplus::DeviceOps< tag::Capture >::Samples |
( |
void |
| ) |
const |
Gets the number of samples captured on this device.
- Related OpenAL symbols:
alcGetInteger ALC_CAPTURE_SAMPLES
| void oalplus::DeviceOps< tag::Capture >::Samples |
( |
ALCvoid * |
buffer, |
|
|
ALCsizei |
samples |
|
) |
| const |
Gets the samples captured on this device.
- Related OpenAL symbols:
alcCaptureSamples
| const ALchar* oalplus::DeviceOps< tag::Capture >::Specifier |
( |
void |
| ) |
const |
Returns the capture device specifier string.
- Related OpenAL symbols:
alcGetString ALC_CAPTURE_DEVICE_SPECIFIER
| static DeviceSpecRange oalplus::DeviceOps< tag::Capture >::Specifiers |
( |
void |
| ) |
|
|
static |
Returns a range of specifier strings for available capture devices.
- Related OpenAL symbols:
alcGetString ALC_CAPTURE_DEVICE_SPECIFIER
- Examples:
- oalplus/001_devices.cpp.
| void oalplus::DeviceOps< tag::Capture >::Start |
( |
void |
| ) |
|
Starts audio capture on this device.
- Related OpenAL symbols:
alcCaptureStart
| void oalplus::DeviceOps< tag::Capture >::Stop |
( |
void |
| ) |
|
Stop audio capture on this device.
- Related OpenAL symbols:
alcCaptureStop
The documentation for this class was generated from the following file:
- /home/chochlik/devel/oglplus/include/oalplus/device.hpp