Closed
Bug 934440
Opened 11 years ago
Closed 11 years ago
Statically assert that MEDIA_STREAM_DEST_TRACK_ID is different than AUDIO_NODE_STREAM_TRACK_ID
Categories
(Core :: Web Audio, defect)
Core
Web Audio
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: jdm, Assigned: lpy)
Details
(Whiteboard: [good first bug][mentor=jdm][lang=c++][qa-])
Attachments
(1 file, 3 obsolete files)
1.45 KB,
patch
|
lpy
:
review+
|
Details | Diff | Splinter Review |
There's a comment in MediaStreamAudioDestinationNode stating that the two constants should be different. We should add a static assertion that checks that this is true using static_assert.
Reporter | ||
Updated•11 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Version: 24 Branch → unspecified
Assignee | ||
Comment 1•11 years ago
|
||
Seems easy and I can learn something from the code, I will try to work on it after I read some code. http://mxr.mozilla.org/mozilla-central/source/content/media/webaudio/MediaStreamAudioDestinationNode.cpp#26 Comment is in lien 26 in MediaStreamAudioDestinationNode
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → pylaurent1314
Assignee | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 827101 [details] [diff] [review] bug934440.patch Review of attachment 827101 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/webaudio/MediaStreamAudioDestinationNode.cpp @@ +22,5 @@ > > NS_IMPL_ADDREF_INHERITED(MediaStreamAudioDestinationNode, AudioNode) > NS_IMPL_RELEASE_INHERITED(MediaStreamAudioDestinationNode, AudioNode) > > +// This must be a different value than AUDIO_TRACK This comment can go away now; the assertion make it clear.
Attachment #827101 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 4•11 years ago
|
||
delete comment
Attachment #827101 -
Attachment is obsolete: true
Attachment #830128 -
Flags: review+
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/0595650a11bd
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Backed out for bustage. https://hg.mozilla.org/integration/b2g-inbound/rev/fca4c04c4afa https://tbpl.mozilla.org/php/getParsedLog.php?id=30416664&tree=B2g-Inbound Please make sure this compiles locally before requesting checkin.
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #830128 -
Attachment is obsolete: true
Attachment #830573 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #830573 -
Attachment is obsolete: true
Attachment #830807 -
Flags: review+
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/d1da506d529f
Keywords: checkin-needed
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d1da506d529f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•10 years ago
|
Whiteboard: [good first bug][mentor=jdm][lang=c++] → [good first bug][mentor=jdm][lang=c++][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•