Fix warnings in MediaEngineWebRTCAudio.cpp
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
Details
Attachments
(6 files)
Fix the warning for AudioInputProcessing's ctor
WARNING: constructor does not initialize these fields: mPacketCount
update: We have couple of warnings in MediaEngineWebRTCAudio.cpp when running ./mach static-analysis check dom/media/webrtc/MediaEngineWebRTCAudio.cpp
. It's better to fix all of them at once.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Fix warning: constructor does not initialize these fields: mPacketCount [cppcoreguidelines-pro-type-member-init]
Assignee | ||
Comment 2•3 years ago
|
||
Fix warning: uninitialized record type: 'uuid' [cppcoreguidelines-pro-type-member-init]
Depends on D132998
Assignee | ||
Comment 3•3 years ago
|
||
Fix warning: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined [cppcoreguidelines-narrowing-conversions]
Depends on D132999
Assignee | ||
Comment 4•3 years ago
|
||
Fix warning: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int32_t' (aka 'int') is implementation-defined [cppcoreguidelines-narrowing-conversions]
Depends on D133000
Assignee | ||
Comment 5•3 years ago
|
||
Fix warning: std::move of the const variable 'aAudioProcessingConfig' of the trivially-copyable type 'const AudioProcessing::Config' has no effect; remove std::move() [performance-move-const-arg]
Depends on D133001
Assignee | ||
Comment 6•3 years ago
|
||
Fix warning: std::move of the const expression has no effect; remove std::move() [performance-move-const-arg]
Depends on D133002
Updated•3 years ago
|
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8f7e404a09e5
https://hg.mozilla.org/mozilla-central/rev/1ce8566920c7
https://hg.mozilla.org/mozilla-central/rev/38fe80b50dc9
https://hg.mozilla.org/mozilla-central/rev/cd912504b416
https://hg.mozilla.org/mozilla-central/rev/fd342a0df47f
https://hg.mozilla.org/mozilla-central/rev/82b8e2b360eb
Description
•