OALplus (0.52.0) a C++ wrapper for OpenAL

Audio playback device. More...

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

Inheritance diagram for oalplus::Device:
Collaboration diagram for oalplus::Device:

Public Member Functions

 Device (void)
 Constructs an object referencing the default audio device. More...
 
 Device (const ALchar *dev_spec)
 Constructs an object referencing the specified audio device. More...
 
 ~Device (void)
 Closes this device. More...
 
const ALchar * Specifier (void) const
 Returns the device specifier string. More...
 

Static Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

oalplus::Device::Device ( void  )

Constructs an object referencing the default audio device.

Related OpenAL symbols:
alcOpenDevice
oalplus::Device::Device ( const ALchar *  dev_spec)

Constructs an object referencing the specified audio device.

Related OpenAL symbols:
alcOpenDevice
oalplus::Device::~Device ( void  )

Closes this device.

Related OpenAL symbols:
alcCloseDevice

Member Function Documentation

static Range<String> oalplus::DevCommonOps::Extensions ( void  )
staticinherited

Returns a range of ALC extension strings.

Related OpenAL symbols:
alGetString AL_EXTENSIONS
const ALchar* oalplus::DeviceOps< tag::Playback >::Specifier ( void  ) const
inherited

Returns the device specifier string.

Related OpenAL symbols:
alcGetString ALC_DEVICE_SPECIFIER
static DeviceSpecRange oalplus::DeviceOps< tag::Playback >::Specifiers ( void  )
staticinherited

Returns a range of specifier strings for available audio devices.

Related OpenAL symbols:
alcGetString ALC_DEVICE_SPECIFIER
Examples:
oalplus/001_devices.cpp.

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