bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

headphones, speakers dont switch

Assigned to



Audio/Video: cubeb
3 years ago
6 months ago


(Reporter: uleming, Assigned: kinetik, NeedInfo)



Windows 8.1

Firefox Tracking Flags

(Not tracked)



(2 attachments)



3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150122214805

Steps to reproduce:

Headphones on, start to watch online video (html5) for example youtube (but I tried another website with html5 video content with same result). Pull out headphone jacket, no sound comes from speakers, plug it back, but not sound anymore. Video is playing still at this moment. So this tab is not playing audio anymore.  If same time I open another tab, then sound comes back on another tab but behaviour the same.

This started since update to firefox 35

Actual results:

Sound from certain tab disappears.

Expected results:

Firefox suppose to switch audio stream between speakers and headphones.

Comment 1

3 years ago
I did try to follow advice https://bugzilla.mozilla.org/show_bug.cgi?id=944108 to start Firefox in safe mode, I tried to create new profile but no success. 
Same behavior with playing just audio. 
Important notice pressing stop/play didn't bring back sound, but if i move control to play forward then sound comes back (on video, audio content on headphone, speaker whatever is now active). Volume up/down didn't help. Also helps to start playing another audio on page, if there is several audio or video on same page.
Keywords: html5

Comment 2

3 years ago
Application Basics

Name: Firefox
Version: 35.0.1
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Multiprocess Windows: 0/1

Crash Reports for the Last 3 Days

All Crash Reports


Name: ADB Helper
Version: 0.7.3
Enabled: true
ID: adbhelper@mozilla.org

Name: Adblock Plus
Version: 2.6.7
Enabled: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Name: DownloadHelper
Version: 4.9.24
Enabled: true
ID: {b9db16a4-6edc-47ec-a1f4-b86292ed211d}

Name: Firebug
Version: 2.0.7
Enabled: true
ID: firebug@software.joehewitt.com

Name: Firefox OS 2.2 Simulator
Version: 2.2.20141123
Enabled: true
ID: fxos_2_2_simulator@mozilla.org

Name: Quick Translator
Version: 1.0
Enabled: true
ID: {5C655500-E712-41e7-9349-CE462F844B19}

Name: Session Manager
Enabled: true
ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30}

Name: SPDY indicator
Version: 2.2
Enabled: true
ID: spdyindicator@chengsun.github.com

Name: Xmarks
Version: 4.3.6
Enabled: true
ID: foxmarks@kei.com

Name: 1-Click YouTube Video Downloader
Version: 2.3.8
Enabled: false
ID: YoutubeDownloader@PeterOlayev.com

Name: anonymoX
Version: 2.4.6
Enabled: false
ID: client@anonymox.net

Name: Anti-Aliasing Tuner
Enabled: false
ID: aatuner@hotmint.com

Name: Download YouTube Videos as MP4
Version: 1.7.30
Enabled: false
ID: {b9bfaf1c-a63f-47cd-8b9a-29526ced9060}

Name: Dust-Me Selectors
Version: 4.1
Enabled: false
ID: {3c6e1eed-a07e-4c80-9cf3-66ea0bf40b37}

Name: Easy Youtube Video Downloader Express
Version: 7.37
Enabled: false
ID: {b9acf540-acba-11e1-8ccb-001fd0e08bd4}

Name: FirePath
Enabled: false
ID: FireXPath@pierre.tholence.com

Name: Flash and Video Download
Version: 1.66
Enabled: false
ID: {bee6eb20-01e0-ebd1-da83-080329fb9a3a}

Name: Globefish
Version: 1.4.1
Enabled: false
ID: globefish@projects.6831.courses.csail.mit.edu

Name: Google Translator for Firefox
Enabled: false
ID: translator@zoli.bod

Name: Inline Translator
Version: 1.3
Enabled: false
ID: itrans@tenshi

Name: JS Deminifier
Version: 1.0.9
Enabled: false
ID: jsdeminifier@murphy.ben.name

Name: Live HTTP headers
Version: 0.17
Enabled: false
ID: {8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}

Name: metrika-info
Version: 1.1
Enabled: false
ID: debugger@metrika.yandex.ru

Name: QuickJava
Version: 2.0.6
Enabled: false
ID: {E6C1199F-E687-42da-8C24-E7770CC3AE66}

Name: Shumway
Version: 0.9.3659
Enabled: false
ID: shumway@research.mozilla.org

Name: Tamper Data
Version: 11.0.1
Enabled: false
ID: {9c51bd27-6ed8-4000-a2bf-36cb95c0c947}

Name: TS Magic Player
Version: 1.1.40
Enabled: false
ID: magicplayer@torrentstream.org

Name: Web Developer
Version: 1.2.5
Enabled: false
ID: {c45c406e-ab73-11d8-be73-000a95be3b12}

Name: xpath finder
Version: 1.02
Enabled: false
ID: xpath_finder@xpath_finder.com

Name: YouTube Video and Audio Downloader
Version: 0.4.2
Enabled: false
ID: feca4b87-3be4-43da-a1b1-137c24220968@jetpack


Adapter Description: Intel(R) HD Graphics 4000
Adapter Drivers: igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32
Adapter RAM: Unknown
ClearType Parameters: D [ Gamma: 2200 Pixel Structure: B ClearType Level: 50 Enhanced Contrast: 0 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 200 ]
Device ID: 0x0166
DirectWrite Enabled: false (6.3.9600.17415)
Driver Date: 9-2-2012
Driver Version:
GPU #2 Active: false
GPU Accelerated Windows: 0/1 Basic (OMTC)
Subsys ID: 05721028
Vendor ID: 0x8086
WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 4000 Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: true
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0

Important Modified Preferences

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 1
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20150122214805
browser.startup.homepage_override.buildID: 20150122214805
browser.startup.homepage_override.mstone: 35.0.1
browser.tabs.warnOnClose: false
dom.mozApps.used: true
extensions.lastAppVersion: 35.0.1
gfx.direct3d.last_used_feature_level_idx: 0
media.gmp-gmpopenh264.lastUpdate: 1412795219
media.gmp-gmpopenh264.version: 1.1
media.gmp-manager.lastCheck: 1422397421
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1422471104
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugins.notifyMissingFlash: false
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1422309993

Important Locked Preferences


Incremental GC: true


Activated: false
Prevent Accessibility: 0

Library Versions

Expected minimum version: 4.10.7
Version in use: 4.10.7

Expected minimum version: 3.17.2 Basic ECC
Version in use: 3.17.2 Basic ECC

Expected minimum version: 3.17.2 Basic ECC
Version in use: 3.17.2 Basic ECC

Expected minimum version: 3.17.2 Basic ECC
Version in use: 3.17.2 Basic ECC

Expected minimum version: 3.17.2
Version in use: 3.17.2

Experimental Features

Comment 3

2 years ago
I can reproduce this with latest nightly and new profile.
Ever confirmed: true
Mozilla/5.0 (Windows NT 6.3; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20151108030417

I could also reproduce the issue on the latest Nightly. Sound is lost after switching between headphones and speakers.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Version: 35 Branch → Trunk
Component: Audio/Video: Playback → Audio/Video: cubeb
Priority: -- → P1
Rank: 15
I've seen some other reports about issues with plugging/unplugging.  Paul, Matthew -- Any ideas what may be going on here?
Flags: needinfo?(padenot)
Flags: needinfo?(kinetik)
What audio setup to you both have?
Flags: needinfo?(zhoubcfan)
Flags: needinfo?(simona.marcu)
Flags: needinfo?(padenot)
(In reply to Paul Adenot (:padenot) from comment #6)
> What audio setup to you both have?

Driver Provider: Microsoft
Driver date: 8/21/2013
Driver version: 6.3.9600.16384
Driver Signer: Microsoft Windows

Please let me know if any other information is needed.
Flags: needinfo?(simona.marcu)

Comment 8

2 years ago
I don't know which information I should provide.

windows 10.0.11082 with laptop. default audio driver
Flags: needinfo?(zhoubcfan)

Comment 9

2 years ago
Possibly related to bug 1197047.
Flags: needinfo?(kinetik)
Hi Matthew -- Can you take this bug?  If so, when do you think you'd be able to start working on it?  I'd really like to see this bug move forward.
Flags: needinfo?(kinetik)

Comment 11

2 years ago
No problem taking this, but might not get to it until next month.
Assignee: nobody → kinetik
Flags: needinfo?(kinetik)

Comment 12

2 years ago
Could you please run "dxdiag" from Start->Run, click "Save All Information" and attach the result to the bug?  The text file will show the audio hardware and drivers in use.
Flags: needinfo?(simona.marcu)
Flags: needinfo?(c)

Comment 13

2 years ago
Please see comment #12.
Flags: needinfo?(uleming)

Comment 14

2 years ago
Created attachment 8731059 [details]
Flags: needinfo?(c)
Duplicate of this bug: 1213260

Comment 16

2 years ago
I still reproduce it on Windows 8.1 
Nightly 48.0a1 (2016-03-15)

Switch is done by VLC and other softwares, not anymore on any tab of Firefox.
But perhaps it's wanted. I mean, it's the same with smartphones. Last ones don't switch.

Actually, it may be better like that? Perhaps WE are better than them like that.
Created attachment 8732777 [details]
Flags: needinfo?(simona.marcu)

Comment 18

2 years ago
This bug WFM on 
Windows 10 x64. 
50.0a1 (2016-06-14)
(In reply to Xavier Delgado from comment #18)
> This bug WFM on 
> Windows 10 x64. 
> 50.0a1 (2016-06-14)

This is still an issue on Windows 8.1 with Nightly 50.0a1.
1. Navigate to YouTube and play any video
2. Unplug the headphones jack
3. Plug the headphones jack back in.

Expected results:
The video should continue to play after unplugging the jack and the audio should work properly after plugging the jack back in.

Actual results:
The video stops after unplugging the jack (the loading throbber is displayed) and nothing changes after plugging the jack back in.

Comment 20

2 years ago
I can repro it and have a fix that is almost ready, it'll be fixed in bug 1197047.
Still relevant?
Flags: needinfo?(kinetik)

Comment 22

9 months ago
Yes.  Need to find time to fix this.
Flags: needinfo?(kinetik)
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
You need to log in before you can comment on or make changes to this bug.