mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 08:18:05 +02:00
bring audio network latencies to standard
This commit is contained in:
parent
5b03d3e13d
commit
bbbe070af1
1 changed files with 6 additions and 8 deletions
|
@ -128,14 +128,12 @@ void AudioStatsDialog::updateStats() {
|
|||
// Clear current stats from all vectors
|
||||
clearAllChannels();
|
||||
|
||||
double mixerRingBufferFrames = 0.0,
|
||||
outputRingBufferFrames = 0.0;
|
||||
double audioInputBufferLatency = 0.0,
|
||||
inputRingBufferLatency = 0.0,
|
||||
networkRoundtripLatency = 0.0,
|
||||
mixerRingBufferLatency = 0.0,
|
||||
outputRingBufferLatency = 0.0,
|
||||
audioOutputBufferLatency = 0.0;
|
||||
double audioInputBufferLatency{ 0.0 };
|
||||
double inputRingBufferLatency{ 0.0 };
|
||||
double networkRoundtripLatency{ 0.0 };
|
||||
double mixerRingBufferLatency{ 0.0 };
|
||||
double outputRingBufferLatency{ 0.0 };
|
||||
double audioOutputBufferLatency{ 0.0 };
|
||||
|
||||
if (SharedNodePointer audioMixerNodePointer = DependencyManager::get<NodeList>()->soloNodeOfType(NodeType::AudioMixer)) {
|
||||
audioInputBufferLatency = (double)_stats->getInputMsRead().getWindowMax();
|
||||
|
|
Loading…
Reference in a new issue