Skip to content

[Bug]: CoreAudio device glitchy breakup in 8.0.9+ with differing input and output devices selected #1601

@kevin--

Description

@kevin--

Detailed steps on how to reproduce the bug

  1. regular app with AudioDeviceConfig based callback on macOS

  2. set the Input and the Output device to be different devices
    Image

  3. playback or record for a while

  4. audio starts breaking up / buzzing / repeating buffers style of sounds

  5. eventually goes totally silent

  6. this line is getting hit continually when in this state

Reverting to JUCE 8.0.6 (our previously used version which is before the CoreAudio changes) resolves the issue.

Unfortunately we want to update to 8.0.9+ to resolve #1595

What is the expected behaviour?

discontinuity only happens if the CPU is overloaded and audio stays clean

Operating systems

macOS

What versions of the operating systems?

macOS Sequioa 15.5

Architectures

Arm64/aarch64

Stacktrace

https://github.com/juce-framework/JUCE/blob/8.0.11/modules/juce_audio_devices/native/juce_CoreAudio_mac.cpp#L2088-L2089

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

JUCE-based host, using AudioDeviceManager + audio callback

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions