Skip to content

fix: address headset audio crackling#478

Open
cajus wants to merge 4 commits into
mainfrom
fix/headset-audio-opt
Open

fix: address headset audio crackling#478
cajus wants to merge 4 commits into
mainfrom
fix/headset-audio-opt

Conversation

@cajus
Copy link
Copy Markdown
Member

@cajus cajus commented Jun 1, 2026

This cleans up the call flow audio, inserts some more silence and delays sending of certain teams display HID commands that led to a cut-off for end-call and congestion tones.

This cleans up the call flow audio, inserts some more silence
and delays sending of certain teams display HID commands that
led to a cut-off for end-call and congestion tones.
@cajus cajus requested a review from mbgonicus June 1, 2026 10:16
Copy link
Copy Markdown
Contributor

@mbgonicus mbgonicus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; i'm just in pedantic mode ;)

Comment thread src/media/AudioPort.cpp
m_io = nullptr;
}
m_isDraining = true;
QTimer::singleShot(SILENCE_BUFFER_MS + 200, this, [this]() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why + 200?

Comment thread src/sip/SIPCall.cpp
&& static_cast<int>(statusCode) < 700) {
ringToneFactory.congestionTone()->start(5);
} else {
if (!m_incoming) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be written as } else if (!m_incoming) {, thus reducing the indentation level by one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants