Closed Bug 1636722 Opened 5 years ago Closed 5 years ago

No audio if audio device is connected after firefox is opened

Categories

(Core :: Audio/Video: cubeb, defect, P1)

76 Branch
x86_64
Windows
defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- fixed
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fixed
firefox79 --- fixed

People

(Reporter: b.tumelero, Assigned: kinetik)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

  1. Open firefox using the taskbar icon with no valid audio device (all audio devices disabled)
  2. Open a youtube video
  3. Connect an usb audio device (mine's a multilaser's ph144 warrior)
  4. Update the page and play the video
  5. Video still won't have audio (i always did this on prior versions and it worked as expected)

OBS: win10 x64 version 1909 build 18363.815, firefox x64 76.
I'm not an english speaker, if there is anything you can't understand, feel free to contact me.

Actual results:

The video still won't have audio after connecting a valid audio device and updating the page, even though this always worked on prior versions.

Expected results:

The video should've audio after connecting a valid audio device and updating the page as it always happened.

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

Because this bug's Severity is normal and has not been changed, and this bug's priority is -- (none,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --
Component: Audio/Video: Playback → Audio/Video: cubeb

(In reply to b.tumelero from comment #0)

Hi b.tumelero,

Thanks for your report.

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

  1. Open firefox using the taskbar icon with no valid audio device (all audio devices disabled)
  2. Open a youtube video
  3. Connect an usb audio device (mine's a multilaser's ph144 warrior)
  4. Update the page and play the video

Does the audio device is already shown on the system? (e.g., you can select that sound device as your default output device.)

  1. Video still won't have audio (i always did this on prior versions and it worked as expected)

Does the audio work after the newly plugged device is detected by the system?

If it works in the previous version but doesn't work in the current version, could you help us to narrow down the scope that may cause this problem? Here is a tool that can check this problem with different Firefox versions: https://mozilla.github.io/mozregression/

BTW, is the problem reproducible on Firefox Nightly?

OBS: win10 x64 version 1909 build 18363.815, firefox x64 76.
I'm not an english speaker, if there is anything you can't understand, feel free to contact me.

Don't worry, your English is perfect :)

Thanks for reporting this, I can reproduce it locally following the steps provided (note to self: audio input devices must also be disabled).

This is a regression from AudioIPC landing for Windows 64-bit in Firefox 76 via bug 1432303. Now, if the cubeb context fails to initialize on first attempt, the AudioIPC server preserves the initialization error state rather than attempting to reinitialize on the next (remoted) ClientContext initialization.

Until this is fixed, restarting Firefox after attaching the audio device will work around this issue.

Assignee: nobody → kinetik
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Unspecified → Windows
Priority: -- → P1
Regressed by: 1432303
Hardware: Unspecified → All
Has Regression Range: --- → yes

.

Has STR: --- → yes
Root Cause: --- → Coding: Logical Error
Keywords: regression
Hardware: All → x86_64

(In reply to C.M.Chang[:chunmin] from comment #2)

Does the audio device is already shown on the system? (e.g., you can select that sound device as your default output device.)

Does the audio work after the newly plugged device is detected by the system?

It is shown and works normally in other places (tested using windows media player)

If it works in the previous version but doesn't work in the current version, could you help us to narrow down the scope that may cause this problem? Here is a tool that can check this problem with different Firefox versions: https://mozilla.github.io/mozregression/

BTW, is the problem reproducible on Firefox Nightly?

Matthew Gregan seems to have specified the versions (comment #4). Do you still want me to test it?

Don't worry, your English is perfect :)

Thank you

Attached file GitHub Pull Request
See Also: → 1644821
Depends on: 1646576
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: