MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / MIX_MixChannelsToPaintbuffer

Function MIX_MixChannelsToPaintbuffer

engine/client/s_mix.cpp:552–658  ·  view source on GitHub ↗

Mix all channels into active paintbuffers until paintbuffer is full or 'endtime' is reached. endtime: time in 44khz samples to mix rate: ignore samples which are not natively at this rate (for multipass mixing/filtering) if rate == SOUND_ALL_RATES then mix all samples this pass flags: if SOUND_MIX_DRY, then mix only samples with channel flagged as 'dry' outputRate: target mix rate for all samples.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

MIX_MixUpsampleBufferFunction · 0.85

Calls 8

S_LoadSoundFunction · 0.85
S_FreeChannelFunction · 0.85
VOX_ModifyPitchFunction · 0.85
SND_MoveMouth8Function · 0.85
SND_MoveMouth16Function · 0.85
VOX_MixDataToDeviceFunction · 0.85
S_MixDataToDeviceFunction · 0.85
S_ShouldContinueMixingFunction · 0.85

Tested by

no test coverage detected