OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::application::audio_context Class Reference

Class holding audio playback and recording-related application support objects. More...

#include <eagine/application/context.hpp>

Public Member Functions

auto init_al_api () noexcept -> bool
 Tries to intialize the AL sound API in this video context. More...
 
auto has_al_api () const noexcept
 Indicates if the AL API in this audio context is initialized. More...
 
auto al_api () const noexcept -> auto &
 Returns a reference to the AL API in this context. More...
 
void clean_up () noexcept
 Cleans up and releases this audio context and APIs.
 

Detailed Description

Class holding audio playback and recording-related application support objects.

See also
audio_options
video_context
execution_context

Instances of this class represent a single (possibly one of several) audio playback and recording contexts in an application.

Member Function Documentation

◆ al_api()

auto eagine::application::audio_context::al_api ( ) const -> auto&
inlinenoexcept

Returns a reference to the AL API in this context.

See also
init_al_api
Precondition
has_al_api()

◆ has_al_api()

auto eagine::application::audio_context::has_al_api ( ) const
inlinenoexcept

Indicates if the AL API in this audio context is initialized.

See also
init_al_api
al_api

◆ init_al_api()

auto eagine::application::audio_context::init_al_api ( ) -> bool
noexcept

Tries to intialize the AL sound API in this video context.

See also
has_al_api
al_api

The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).