MCPcopy Create free account
hub / github.com/OneLoneCoder/Javidx9 / GetMixerOutput

Method GetMixerOutput

ConsoleGameEngine/archive/olcConsoleGameEngineOOP.cpp:782–807  ·  view source on GitHub ↗

The Sound Mixer - If the user wants to play many sounds simultaneously, and perhaps the same sound overlapping itself, then you need a mixer, which takes input from all sound sources for that audio frame. This mixer maintains a list of sound locations for all concurrently playing audio samples. Instead of duplicating audio data, we simply store the fact that a sound sample is in use and an offset

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected