Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core Audio taking 3 minutes to open audio device #10902

Open
3 of 15 tasks
miketoon opened this issue Nov 5, 2024 · 1 comment
Open
3 of 15 tasks

Core Audio taking 3 minutes to open audio device #10902

miketoon opened this issue Nov 5, 2024 · 1 comment

Comments

@miketoon
Copy link

miketoon commented Nov 5, 2024

Description

When starting an audio device with CoreAudio it takes 3 minutes to return when calling:

AudioDeviceStart(   AudioObjectID                   inDevice,
                    AudioDeviceIOProcID __nullable  inProcID)                                                   __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0);

We are trying to upgrade from macosx12 but are running into this issue with our tests where we need to repeatedly start an audio device. This is causing a massive delay to the tests which is unworkable.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

macos13:
Current image version: '20241023.237'
macos 15:
Current image version: '20241022.244'

Is it regression?

Yes macosx12

Expected behavior

Audio device is started in a few seconds or less

Actual behavior

Audio device doesn't start for 3 minutes hanging the application

Repro steps

call to

AudioDeviceStart(   AudioObjectID                   inDevice,
                    AudioDeviceIOProcID __nullable  inProcID)                                                   __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0);
@susmitamane
Copy link
Contributor

Hi @miketoon We will look into the issue and keep you posted with updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants