BlackHole icon indicating copy to clipboard operation
BlackHole copied to clipboard

Introduces extreme audio latency

Open nbilyk opened this issue 1 year ago • 11 comments

Please Confirm

  • [X] I have read the FAQ and Wiki where most common issues can be resolved
  • [X] I have searched Discussions to see if the same question has already been asked
  • [X] This is a bug and not a question about audio routing or configuration, which should be posted in Discussions

macOS Version

macOS 13 Ventura

BlackHole Build(s) Affected

  • [x] 2 channel
  • [ ] 16 channel
  • [ ] 64 channel
  • [ ] other/custom build

Describe the bug

On macOS Sonoma, I am getting 4-5s of audio latency when BlackHole is installed, even if it's not selected for device output.

Reproduction Steps

etc...

Expected Behavior

I would expect when BlackHole is not selected as device output it should not have an affect.

Screenshots

No response

nbilyk avatar Aug 08 '24 21:08 nbilyk

This is impossible. BlackHole is a user space driver and is sandboxed. It has zero influence on other drivers. If so it’s a bigger core audio bug which I highly doubt. I suspect something else is the culprit. Do you have Rogue Amoeba’s stuff installed?

Plus you never included any steps to reproduce.

Devin On Aug 8, 2024 at 2:52 PM -0700, Nicholas Bilyk @.***>, wrote:

Please Confirm

• I have read the FAQ and Wiki where most common issues can be resolved • I have searched Discussions to see if the same question has already been asked • This is a bug and not a question about audio routing or configuration, which should be posted in Discussions

macOS Version macOS 13 Ventura BlackHole Build(s) Affected

• 2 channel • 16 channel • 64 channel • other/custom build

Describe the bug On macOS Sonoma, I am getting 4-5s of audio latency when BlackHole is installed, even if it's not selected for device output. Reproduction Steps

etc... Expected Behavior I would expect when BlackHole is not selected as device output it should not have an affect. Screenshots No response — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

devinroth avatar Aug 09 '24 01:08 devinroth

It happened on two different Macbooks for two different people and different headsets. The issue started after installing the driver and went away after uninstalling.

Repro steps are to install 2ch macOS version (intel, Sonoma) Set output device to Bluetooth headphones Play audio Observe several seconds of latency

nbilyk avatar Aug 09 '24 02:08 nbilyk

And no, I've never heard of Rogue Amoeba

nbilyk avatar Aug 09 '24 02:08 nbilyk

Play audio from where? And how are you measuring latency?

Devin On Aug 8, 2024 at 7:08 PM -0700, Nicholas Bilyk @.***>, wrote:

It happened on two different Macbooks for two different people and different headsets. The issue started after installing the driver and went away after uninstalling. Repro steps are to install 2ch macOS version (intel, Sonoma) Set output device to Bluetooth headphones Play audio Observe several seconds of latency — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

devinroth avatar Aug 09 '24 21:08 devinroth

From any source, there is a several second delay between play and when audio can be heard. Sometimes as high as 5-6 seconds

nbilyk avatar Aug 09 '24 21:08 nbilyk

Even after a computer restart?

Devin On Aug 9, 2024 at 2:45 PM -0700, Nicholas Bilyk @.***>, wrote:

From any source, there is a several second delay between play and when audio can be heard. Sometimes as high as 5-6 seconds — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

devinroth avatar Aug 09 '24 23:08 devinroth

I uninstalled before I tried a restart

nbilyk avatar Aug 10 '24 00:08 nbilyk

Just Bluetooth or all audio?

Devin On Aug 9, 2024 at 5:54 PM -0700, Nicholas Bilyk @.***>, wrote:

I uninstalled before I tried a restart — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

devinroth avatar Aug 10 '24 02:08 devinroth

Sorry, unsure, didn't spend a lot of time trying to isolate further than related to the black hole driver.

nbilyk avatar Aug 10 '24 02:08 nbilyk

I don’t think it’s related but I’ll test.

Devin On Aug 9, 2024 at 7:28 PM -0700, Nicholas Bilyk @.***>, wrote:

Sorry, unsure, didn't spend a lot of time trying to isolate further than related to the black hole driver. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

devinroth avatar Aug 10 '24 02:08 devinroth

Tested and I'm having absolutely no issues with my AirPods. Try again but this time restart your computer after installing. AirPods are known to be buggy and I can't guarantee what other apps do. It's entirely possible that the installation process which reboots CoreAudio causes issues with AirPods. Let me know the results.

devinroth avatar Aug 12 '24 04:08 devinroth