Skip to content

Commit 45defb8

Browse files
author
ThePBone
committed
Fix visualizer glitches
1 parent dc207fd commit 45defb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visualization/audiostreamengine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ bool AudioStreamEngine::initialize()
321321
emit bufferChanged(0, 0, m_buffer);
322322
m_audioInput = new QAudioInput(m_audioInputDevice, m_format, this);
323323
m_audioInput->setNotifyInterval(NotifyIntervalMs);
324+
m_audioInput->setBufferSize(20);
324325
result = true;
325326
}
326327
}

0 commit comments

Comments
 (0)