Closed Bug 1706131 Opened 5 years ago Closed 1 month ago

[Bug] Popping/crackling sounds when playing audio via bluetooth in fast forward mode

Categories

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

Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox152 --- verified
firefox153 --- verified
firefox154 --- verified

People

(Reporter: kbrosnan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

From github: https://github.com/mozilla-mobile/fenix/issues/19102.

Steps to reproduce

Play any audio (or video with sound) via bluetooth in the fast forward mode (Youtube, Vimeo, ...). E.g. this video with x1.25, x1.5, x1.75, x2 speed.

When Chrome or Samsung Internet is used, everything is fine.

Expected behavior

No popping/crackling sounds like when listening via wired head phones, speakers, ...

Actual behavior

Popping/crackling sounds when playing audio via bluetooth.

Device information

  • Device vendor / model and Android version: Samsung A40 / Android 11
  • Firefox for Android version: 87.0.0-rc.1

Change performed by the Move to Bugzilla add-on.

:kinetik, does this sound backend related?

Flags: needinfo?(kinetik)

Possibly, but could be underruns or a bug in playbackRate handling for 16-bit audio also. I wonder if the issue recovers immediately after reverting playbackRate to 1.0. We'll need to gather more detail to narrow the cause down. I don't have access a suitable device to test with, but if someone can reproduce this I have a few suggestions:

  1. Try setting the pref media.cubeb.backend to aaudio, restarting, and retesting.
    If this helps, likely suggests an issue with the default (opensl) backend. Otherwise, if the issue is still reproducible with aaudio, please revert the pref change.
  2. Grab a profile via about:profiling using the Media preset while the issue is occurring.
  3. Enable logging (MOZ_LOG=AudioStream:5,cubeb:5) and reproduce the issue, attaching the resulting logs for analysis.
Flags: needinfo?(kinetik)
Severity: -- → S3
Component: Audio/Video → Audio/Video: Playback
Priority: -- → P3
Attachment #9385071 - Attachment is obsolete: true
Blocks: media-bluetooth
No longer blocks: media-crackle

This issue no longer reproduces on the latest RC 152.0.5, nor on the Nightly 154.0a1 from 7/12 using Energy Neckband 3 headphones, and Samsung Galaxy Z Fold 4 (Android 16).
Closing as WORKSFORME.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → WORKSFORME

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Not reproducing on Beta 153.0b11 neither.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: