file
Context.hClass Magnum::
Contents
- Reference
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Audio
- Audio playback.
Classes
- class Magnum::Audio::Extension
- Run-time information about OpenAL extension.
- class Magnum::Audio::Context
- OpenAL context.
- class Magnum::Audio::Context::Configuration
- OpenAL context configuration.
Defines
- #define MAGNUM_ASSERT_AUDIO_EXTENSION_SUPPORTED(extension)
- Assert that given OpenAL extension is supported.
Define documentation
#define MAGNUM_ASSERT_AUDIO_EXTENSION_SUPPORTED(extension)
Assert that given OpenAL extension is supported.
Parameters | |
---|---|
extension | Extension name (from Audio:: |
Useful for initial checks on availability of required features.
By default, if assertion fails, an message is printed to error output and the application aborts. If CORRADE_NO_ASSERT
is defined, this macro does nothing. Example usage:
MAGNUM_ASSERT_AUDIO_EXTENSION_SUPPORTED(Extensions::ALC::SOFTX::HRTF);