Closed Bug 1858036 Opened 1 year ago Closed 1 year ago

A-law encoded wave file playback heavily distorted (as if misidentified as μ-law instead)

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 118
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- wontfix
firefox119 --- verified
firefox120 --- verified

People

(Reporter: bugzilla-mozilla, Assigned: padenot)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached file testcase.zip

Steps to reproduce:

  1. Run a Firefox older than changeset: 062a5e5729067f579bd6d1ab2f1a3021d7fd291a (was it 118b09? 117 was fine)
  2. Open a website with A-law encoded wave file embedded in <audio> tag - minimal test case included.
  3. Press "Play" icon.

Bisection with mozregression-GUI led me to these commits:

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d1fbe6c1f87656fb4f55677904f55f6df433ea9a&tochange=062a5e5729067f579bd6d1ab2f1a3021d7fd291a

app_name: firefox
build_date: 2023-08-08 14:41:29.819000
build_file: C:\Users\user.mozilla\mozregression\persist\062a5e572906-shippable--autoland--target.zip
build_type: integration
build_url: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JEc1-4q5QKKYjLOf-hBr3g/runs/0/artifacts/public%2Fbuild%2Ftarget.zip
changeset: 062a5e5729067f579bd6d1ab2f1a3021d7fd291a
pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d1fbe6c1f87656fb4f55677904f55f6df433ea9a&tochange=062a5e5729067f579bd6d1ab2f1a3021d7fd291a
repo_name: autoland
repo_url: https://hg.mozilla.org/integration/autoland
task_id: JEc1-4q5QKKYjLOf-hBr3g

Actual results:

Heavily distorted playback (it sounds as if it was misinterpreted as a μ-law encoded file instead).

Expected results:

Normal playback quality (in this test case Caruso's voice should be soft and clear)

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

ni? :padenot based on the regression range from the reporter.

Flags: needinfo?(padenot)
Assignee: nobody → padenot
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

Comment on attachment 9357593 [details]
Bug 1858036 - Fix A-law PCM playback. r?alwu

Beta/Release Uplift Approval Request

  • User impact if declined: Some files playback are broken.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial patch, unit tests added.
  • String changes made/needed:
  • Is Android affected?: Yes
Flags: needinfo?(padenot)
Attachment #9357593 - Flags: approval-mozilla-beta?

Setting Bug 1823953 at the regressor based on the push log in Comment 0, please correct if needed

Comment on attachment 9357593 [details]
Bug 1858036 - Fix A-law PCM playback. r?alwu

Approved for 119.0b9

Attachment #9357593 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Verified as fixed on Windows 10 x64, macOS 11.6 and on Ubuntu 20.04 x64.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: