OALplus (0.52.0) a C++ wrapper for OpenAL

oalplus::DeviceOps< tag::Capture > Class Template Reference

Class implementing audio capture device-specific operations. More...

#include </home/chochlik/devel/oglplus/include/oalplus/device.hpp>

Inheritance diagram for oalplus::DeviceOps< tag::Capture >:

Public Member Functions

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...
 

Static Public Member Functions

static DeviceSpecRange Specifiers (void)
 Returns a range of specifier strings for available capture devices. More...
 
static Range< StringExtensions (void)
 Returns a range of ALC extension strings. More...
 

Detailed Description

template<>
class oalplus::DeviceOps< tag::Capture >

Class implementing audio capture device-specific operations.

Note
Do not use this class directly, use Device instead.

Member Function Documentation

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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).