Base wrapper for OpenAL context operations. More...
#include </home/chochlik/devel/oglplus/include/oalplus/context.hpp>

Public Member Functions | |
| DeviceOps< tag::Playback > | ContextsDevice (void) const |
| Returns the device of this context. | |
| bool | MakeCurrent (void) |
| Makes this context current. More... | |
| void | Process (void) |
| Processes this context. More... | |
| void | Suspend (void) |
| Suspends this context. More... | |
Static Public Member Functions | |
| static ContextOps | Current (void) |
| Returns the current OpenAL context. More... | |
| static const ALchar * | GetString (StringQuery query) |
| Queries a string from the current OpenAL context. More... | |
| static const char * | Vendor (void) |
| Returns the vendor name. More... | |
| static const char * | Version (void) |
| Returns the version string. More... | |
| static const char * | Renderer (void) |
| Returns the renderer name. More... | |
| static Range< String > | Extensions (void) |
| Returns a range of extension strings. More... | |
| static void | DistanceModel (oalplus::DistanceModel dist_model) |
| Sets the distance model to be used by the current context. More... | |
| static oalplus::DistanceModel | DistanceModel (void) |
| Returns the distance model used by the current context. More... | |
| static void | DopplerFactor (ALfloat doppler_factor) |
| Sets the doppler factor for the current context. More... | |
| static ALfloat | DopplerFactor (void) |
| Returns the doppler factor used by the current context. More... | |
| static void | SpeedOfSound (ALfloat speed_of_sound) |
| Sets the value of speed of sound for the current context. More... | |
| static ALfloat | SpeedOfSound (void) |
| Returns the value of speed of sound used by the current context. More... | |
Base wrapper for OpenAL context operations.
|
static |
Returns the current OpenAL context.
alcGetCurrentContext alcGetContextsDevice
|
static |
Sets the distance model to be used by the current context.
alDistanceModel References DistanceModel().
|
static |
Returns the distance model used by the current context.
alGetIntegerv AL_DISTANCE_MODEL Referenced by DistanceModel().
|
static |
Sets the doppler factor for the current context.
alDopplerFactor References DopplerFactor().
|
static |
Returns the doppler factor used by the current context.
alGetFloatv AL_DOPPLER_FACTOR Referenced by DopplerFactor().
|
static |
Returns a range of extension strings.
alGetString AL_EXTENSIONS
|
static |
Queries a string from the current OpenAL context.
alGetString Referenced by Renderer(), Vendor(), and Version().
| bool oalplus::ContextOps::MakeCurrent | ( | void | ) |
Makes this context current.
alcMakeContextCurrent Referenced by oalplus::CurrentContext::CurrentContext().
| void oalplus::ContextOps::Process | ( | void | ) |
Processes this context.
alcProcessContext
|
static |
Returns the renderer name.
alGetString AL_RENDERER References GetString(), and oalplus::Renderer.
|
static |
Sets the value of speed of sound for the current context.
alSpeedOfSound References SpeedOfSound().
|
static |
Returns the value of speed of sound used by the current context.
alGetFloatv AL_SPEED_OF_SOUND Referenced by SpeedOfSound().
| void oalplus::ContextOps::Suspend | ( | void | ) |
Suspends this context.
alcSuspendContext
|
static |
Returns the vendor name.
alGetString AL_VENDOR References GetString(), and oalplus::Vendor.
|
static |
Returns the version string.
alGetString AL_VERSION References GetString(), and oalplus::Version.