Closed Bug 1707024 Opened 3 years ago Closed 2 years ago

After enabling Multi-Output audio device on Mac, the microphone is using the output device

Categories

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

Firefox 88
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: luis.aurelio12, Assigned: chunmin)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

Firefox 87 installed two weeks ago, recently upgraded to Firefox 88, on macOS Catalina 10.15.7, installed on iMac 2019 device.

I have added the IShowU and Blackhole virtual audio plugins, and created two multi-output audio devices on my machine, routing the desktop audio to OBS capture, for recording my meetings.

After this, I have selected the multi-audio device as my default output device. But the external microphone is always marked as default input device.

After enabling the device, I have open the Firefox app, and open a Google Meet window, and entered in a meeting.

Actual results:

If selected any of multi-audio devices on my machine as my default output device, the microphone on Firefox is routed as desktop output audio. In other words, the participantes on meeting is hearing the desktop output, not my microphone.

If I enabling an ordinary audio device as default input device (headset), the microphone is working as expected on Firefox.

When I open a Chrome window, on same machine, on same multi-output device enabled, the microphone is working is expected.

Expected results:

The microphone should working if any output device is enabled.

Attached image Audio and Midi Devices
Attached image Output devices

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: cubeb' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

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

Chun-Min, this sounds like a device selection issue in the cubeb-coreaudio-rs backend, would you mind taking a look please?

Flags: needinfo?(cchang)

I'll take a look. I didn't check the multi-output device before so maybe it's not taken carefully

Hi Luis,

Would you mind helping me to get the program log to see what's wrong? The log will be printed on the Terminal console by the following steps:

  1. Open Terminal application (Launchpad -> Other -> Terminal)
  2. Open firefox by the this command: MOZ_LOG="cubeb:4" /Applications/Firefox.app/Contents/MacOS/firefox
  3. Copy the program log printed on the Terminal console and paste it here
Flags: needinfo?(cchang) → needinfo?(luis.aurelio12)
Assignee: nobody → cchang
Attached file Cubeb Log
(In reply to C.M.Chang[:chunmin] from comment #6)
> Hi Luis,
> 
> Would you mind helping me to get the program log to see what's wrong? The log will be printed on the *Terminal* console by the following steps:
> 
> 1. Open *Terminal* application (Launchpad -> Other -> Terminal)
> 2. Open firefox by the this command: `MOZ_LOG="cubeb:4" /Applications/Firefox.app/Contents/MacOS/firefox`
> 3. Copy the program log printed on the *Terminal* console and paste it here

Chun, this is my log. The steps are:

1. Opened Firefox with Ordinary Device (Headset) Enabled
2. Opened a Google Meet tab
3. Speaked some words. The Microphone is detected.
4. After this, I have enabled the multi-audio device (OBS Blackhole). 
5. Speaked some words on microphone, Meet not detected never I heard.
6. Opened a Youtube video, the output audio is detected from Meet as input device.
7. I have pause the Youtube video, and reenabling the Headset as primary output device.
8. The microphone is detected again.

This is my log:

```

```

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

Hi Luis,

Would you mind helping me to get the program log to see what's wrong? The log will be printed on the Terminal console by the following steps:

  1. Open Terminal application (Launchpad -> Other -> Terminal)
  2. Open firefox by the this command: MOZ_LOG="cubeb:4" /Applications/Firefox.app/Contents/MacOS/firefox
  3. Copy the program log printed on the Terminal console and paste it here

Chun, this is my log. The steps are:

  1. Opened Firefox with Ordinary Device (Headset) Enabled
  2. Opened a Google Meet tab
  3. Speaked some words. The Microphone is detected.
  4. After this, I have enabled the multi-audio device (OBS Blackhole).
  5. Speaked some words on microphone, Meet not detected never I heard.
  6. Opened a Youtube video, the output audio is detected from Meet as input device.
  7. I have pause the Youtube video, and reenabling the Headset as primary output device.
  8. The microphone is detected again.

My log is attached on this message.

Thanks for your attention.

Flags: needinfo?(luis.aurelio12)
Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1

Set NI as a reminder

Blocks: 1530713
Flags: needinfo?(cchang)

Luis, can you check if this problem still happen? We might fix this when dealing other problems (https://github.com/mozilla/cubeb-coreaudio-rs/pull/153).

Flags: needinfo?(cchang) → needinfo?(luis.aurelio12)
Severity: S2 → S4

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

Luis, can you check if this problem still happen? We might fix this when dealing other problems (https://github.com/mozilla/cubeb-coreaudio-rs/pull/153).

Hello Mr. Chang, sorry for my delayed response.

The iMac 2019 is from my old employer. But, because my resignation on my previous work, in March, i don't use more Mac devices. I'm sorry for my impossibility for testing this bug. I hope this corrections have fixed this problem.

Thanks for your work.

Flags: needinfo?(luis.aurelio12)

Thanks Luis, I've juste reproduced the setup you described in your initial comment, and it looks fixed: audio input and output are routed appropriately now, after the changes of https://github.com/mozilla/cubeb-coreaudio-rs/pull/153.

I'm closing this, let us know if you find any issue in the future!

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: