Closed
Bug 1036431
Opened 9 years ago
Closed 9 years ago
Setting AudioContext.mozAudioChannelType doesn't set the channel type on mStream
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: ehsan.akhgari, Assigned: baku)
References
Details
Attachments
(1 file)
1.75 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
We do that if the channel type is passed to the ctor <http://mxr.mozilla.org/mozilla-central/source/content/media/webaudio/AudioDestinationNode.cpp?force=1#300> but not when the attribute is set: <http://mxr.mozilla.org/mozilla-central/source/content/media/webaudio/AudioDestinationNode.cpp?force=1#509>. I think that is a bug, Andrea what do you think?
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 1•9 years ago
|
||
It's a bug. What about this patch?
Attachment #8463340 -
Flags: review?(ehsan)
Flags: needinfo?(amarchesini)
Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8463340 [details] [diff] [review] stream.patch Review of attachment 8463340 [details] [diff] [review]: ----------------------------------------------------------------- Can you see if you can write a test for this, please? Thanks!
Attachment #8463340 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 3•9 years ago
|
||
> Can you see if you can write a test for this, please? Thanks!
I don't have any idea about how to test if mStream is using the right AudioChannel. Any suggestion?
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/deb63ed4434b
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/deb63ed4434b
Assignee: nobody → amarchesini
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Reporter | ||
Comment 6•9 years ago
|
||
(In reply to comment #3) > > Can you see if you can write a test for this, please? Thanks! > > I don't have any idea about how to test if mStream is using the right > AudioChannel. Any suggestion? How about adding a [ChromeOnly] testing API that returns the value? :-)
QA Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•