mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
call renderSilent when audio-mixer is struggling
This commit is contained in:
parent
cafcb6b109
commit
87d1d0a49c
1 changed files with 2 additions and 2 deletions
|
@ -288,8 +288,8 @@ void AudioMixer::addStreamToMixForListeningNodeWithStream(AudioMixerClientData&
|
|||
// the mixer is struggling so we're going to drop off some streams
|
||||
|
||||
// we call renderSilent via the HRTF with the actual frame data and a gain of 0.0
|
||||
hrtf.render(streamBlock, _mixedSamples, HRTF_DATASET_INDEX, azimuth, 0.0f,
|
||||
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL);
|
||||
hrtf.renderSilent(streamBlock, _mixedSamples, HRTF_DATASET_INDEX, azimuth, 0.0f,
|
||||
AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue