Manages audio players and mixes them into one sound stream.
More...
#include <AUI/Audio/AAudioMixer.h>
- Warning
- This API is experimental. Experimental APIs are likely to contain bugs, might be changed or removed in the future.
◆ addSoundSource()#
◆ readSoundData()#
std::size_t AAudioMixer::readSoundData |
( |
std::span< std::byte > | destination | ) |
|
- Parameters
-
destination | Pre-allocated buffer to write into |
- Returns
- Number of bytes written
◆ removeSoundSource()#
void AAudioMixer::removeSoundSource |
( |
const _< IAudioPlayer > & | s | ) |
|