Closed
Bug 899050
Opened 11 years ago
Closed 11 years ago
No sound with STEREO output.
Categories
(Core :: Audio/Video, defect)
Tracking
()
VERIFIED
FIXED
mozilla27
People
(Reporter: alice0775, Assigned: padenot)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
12.52 KB,
patch
|
kinetik
:
review+
lsblakk
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Build Identifier: http://hg.mozilla.org/mozilla-central/rev/73b69c146ca6 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20130728 Firefox/25.0 ID:20130728030204 This is spun off from Bug 894801. No sound with default STEREO output. Bug 893307 does not fix. Aurora24.0a2 works fine. Nightly25.0a1 with media.gstreamer.enabled=true on ubuntu12.04 works fine. So, this problem only happens on Nightly25.0a1 Windows7. Steps To Reproduce 1. Open http://www.brucewiggins.co.uk/Audio/HTML5_51.m4a Actual Results: No sound play back Exoected Results: Sound should be play back Regression window(m-i) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/26f83c4cb81e Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20130709 Firefox/25.0 ID:20130709022917 Bad: no sound http://hg.mozilla.org/integration/mozilla-inbound/rev/ebdf97f9ec52 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20130709 Firefox/25.0 ID:20130709030058 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=26f83c4cb81e&tochange=ebdf97f9ec52 Regressed by: ebdf97f9ec52 Paul Adenot — Bug 866675 - Add a WASAPI backend to cubeb. r=kinetik
Assignee | ||
Comment 1•11 years ago
|
||
Right, this is a multichannel file, I had not looked closely at the file before. Not sure what the problem is, though, because the decoders are supposed to downmix it to stereo, and thus request a stereo cubeb stream, later upmixed in WASAPI. I'll see what happens.
Assignee: nobody → paul
Updated•11 years ago
|
status-firefox25:
--- → affected
Assignee | ||
Comment 2•11 years ago
|
||
What happens here is that we don't downmix multichannel files at the decoder level when using WMF (we do when using opus or vorbis). Before WASAPI, we were using winmm, that handled everything for us (sample rate conversion, channel mapping, etc.). WASAPI wants the developer to write everything, so we will need to handle the downmix. It seems a nicer solution anyway, to handle the downmix at the output stream level rather than at the decoder level.
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f74f1e59dc50
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Assignee | ||
Comment 4•11 years ago
|
||
Ha, it seems that I mixed up bug numbers when pushing this one, this is not fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Assignee | ||
Comment 5•11 years ago
|
||
This make WASAPI behave in the same way as the winmm backend, dropping the channels we can't render. We can't really do a proper downmixing here (with a downmix matrix of weights and channels). We would need to do at least one of the following: - Send channel mapping info to cubeb so it can remap (using platform facilities in some backends, manually in other backends). - Normalize the channel mapping in the *Reader output, and decide of a channel mapping in cubeb.
Attachment #814880 -
Flags: review?(kinetik)
Comment 6•11 years ago
|
||
Comment on attachment 814880 [details] [diff] [review] wasapi-downmix Review of attachment 814880 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the ping email, I'm still traveling so might not have seen the r? for a couple of days.
Attachment #814880 -
Flags: review?(kinetik) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 814880 [details] [diff] [review] wasapi-downmix [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 866675 User impact if declined: No sound when playing a multichannel file (I believe this is extremely rare) Testing completed (on m-c, etc.): try, locally Risk to taking this patch (and alternatives if risky): no very risky. Alternative is to backout the wasapi backend for this cycle. String or IDL/UUID changes made by this patch: none.
Attachment #814880 -
Flags: approval-mozilla-beta?
Attachment #814880 -
Flags: approval-mozilla-aurora?
Comment 8•11 years ago
|
||
Comment on attachment 814880 [details] [diff] [review] wasapi-downmix Let's get this on Aurora, will leave it up to Alex to decide if this can get into Beta at this late stage.
Attachment #814880 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/18c8f9d64847
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/8ff026eb8754
Updated•11 years ago
|
status-firefox27:
--- → fixed
Updated•11 years ago
|
Attachment #814880 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 13•11 years ago
|
||
Verified on - Firefox 25.0b8 - Aurora 26.0a2 buildid 20131015004002 - Nightly 27.0a1 buildid 20131015030319
Comment 14•11 years ago
|
||
Thanks for your help Ekanan.
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•