ReXGlue SDK
Loading...
Searching...
No Matches
rex::apu::IAudioSystem Class Referenceabstract

#include <rex/apu/audio_system.h>

Inheritance diagram for rex::apu::IAudioSystem:
[legend]

Detailed Description

Mixes the open streams. For every period the device asks for, the mix takes one frame from every open stream and applies the player's settings. A stream with nothing queued adds silence. With no driver the mix runs on a timer, so every stream receives its frame played callbacks.

A sample that is not finite becomes silence. With apu.peak_limit above 0, a stream whose peak stays above it for two periods ramps to silence until a frame comes back under it.


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