Namespaces | |
| namespace | sound_manager_messages_to_mgr |
| namespace | sound_manager_messages_to_proxy |
Classes | |
| struct | ALExtensions |
| Struct for AL and ALC extensions. More... | |
| struct | ISoundDataOpen |
| Stores sound pcm data buffers. More... | |
| struct | ISoundDataUnopen |
| Will be opened lazily when first used. More... | |
| struct | OggFileDecodeInfo |
| Metadata of an Ogg-Vorbis file, used for decoding. More... | |
| struct | OggVorbisBufferSource |
| For vorbisfile to read from our buffer instead of from a file. More... | |
| class | OpenALSoundManager |
| class | PlayingSound |
| A sound that is currently played. More... | |
| class | ProxySoundManager |
| struct | RAIIALSoundBuffer |
| RAII wrapper for openal sound buffers. More... | |
| struct | RAIIOggFile |
| RAII wrapper for OggVorbis_File. More... | |
| struct | SoundDataOpenBuffer |
| Non-streaming opened sound data. More... | |
| struct | SoundDataOpenStream |
| Streaming opened sound data. More... | |
| struct | SoundDataUnopenBuffer |
| Sound file is in a memory buffer. More... | |
| struct | SoundDataUnopenFile |
| Sound file is in file system. More... | |
| class | SoundManagerSingleton |
| Class for the openal device and context. More... | |
Typedefs | |
| using | SoundManagerMsgToMgr |
| using | SoundManagerMsgToProxy |
Functions | |
| const char * | getAlErrorString (ALenum err) noexcept |
| ALenum | warn_if_al_error (const char *desc) |
| v3f | swap_handedness (v3f v) noexcept |
| Transforms vectors from a left-handed coordinate system to a right-handed one and vice-versa. | |
Variables | |
| constexpr f32 | REMOVE_DEAD_SOUNDS_INTERVAL = 2.0f |
| constexpr f32 | SOUND_DURATION_MAX_SINGLE = 3.0f |
| constexpr f32 | MIN_STREAM_BUFFER_LENGTH = 1.0f |
| constexpr f32 | STREAM_BIGSTEP_TIME = 0.3f |
| constexpr f32 | SOUNDTHREAD_DTIME = 0.016f |
|
inlinenoexcept |
Referenced by sound::RAIIOggFile::loadBuffer(), and warn_if_al_error().
Here is the caller graph for this function:Transforms vectors from a left-handed coordinate system to a right-handed one and vice-versa.
(Needed because Minetest uses a left-handed one and OpenAL a right-handed one.)
Referenced by sound::OpenALSoundManager::playSoundAt(), sound::OpenALSoundManager::updateListener(), and sound::OpenALSoundManager::updateSoundPosVel().
Here is the caller graph for this function:
|
inline |
References getAlErrorString(), and warningstream.
Referenced by sound::PlayingSound::PlayingSound(), sound::OpenALSoundManager::createPlayingSound(), sound::RAIIALSoundBuffer::reset(), sound::OpenALSoundManager::updateListener(), and sound::PlayingSound::updatePosVel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
constexpr |
Referenced by sound::SoundDataOpenStream::loadBufferAt(), and sound::PlayingSound::stepStream().
|
constexpr |
Referenced by sound::OpenALSoundManager::step().
|
constexpr |
Referenced by sound::ISoundDataOpen::fromOggFile().
|
constexpr |
Referenced by sound::OpenALSoundManager::run().
|
constexpr |
Referenced by sound::PlayingSound::stepStream(), and sound::OpenALSoundManager::stepStreams().