Skip to content

[Bug] Sudden volume spikes to extremely loud levels on Bluetooth headphones — possible Core Audio Tap lifecycle issue #49

Closed

Description

@baozhengjie

Bug Description

I'm experiencing intermittent but severe volume spikes when using Fader with Bluetooth headphones on my Mac.

The volume occasionally jumps to an extremely loud level without any user interaction. This happens unpredictably during normal audio playback and is potentially dangerous, as the sudden volume increase is painfully loud.

My Bluetooth headphones do not respond to the native macOS volume control, which is why I use Fader to control audio volume.

This is a serious hearing safety concern.

Environment

  • Mac: MacBook Pro with Apple M2 Max
  • Audio output: Bluetooth headphones
  • Application: Fader (pantafive/fader)
  • macOS version: To be provided
  • Fader version: To be provided

Steps to Reproduce

Unfortunately, I haven't identified a reliable reproduction pattern.

  1. Connect Bluetooth headphones to the Mac.
  2. Launch Fader and use it to reduce the playback volume.
  3. Play music or other audio normally.
  4. At unpredictable times, the actual headphone volume suddenly increases dramatically, even though I haven't intentionally changed the volume.

Expected Behavior

Fader should maintain the configured volume level consistently.

If audio processing fails, the application should prevent unexpectedly loud, unattenuated audio from reaching the output device whenever technically possible.

Actual Behavior

The headphone volume occasionally jumps to an extremely loud level without warning.

The issue is intermittent and does not appear to require manual volume changes.

Log Analysis

The most recent incident occurred on October 13, 2026, at approximately 14:15 (UTC+8).

I collected macOS unified logs for Fader and Core Audio.

Around the time of the incident, I observed several potentially relevant events:

1. Repeated Process Tap muting changes

The logs show multiple RemoveMuter and AddMuter events involving:

  • com.soda.music.helper
  • com.electron.lark.helper

For example:

14:15:22.018 - RemoveMuter (com.soda.music.helper)
14:15:24.297 - AddMuter (com.soda.music.helper)
14:15:25.686 - RemoveMuter (com.soda.music.helper)
14:15:37.856 - AddMuter (com.soda.music.helper)

2. Core Audio errors

14:15:25.747
HALS_PlugIn::HostInterface_PropertiesChanged:
the object is not valid

3. Bluetooth audio errors

14:15:37.629
BTAudioXpcConnection::SendStartMsg null values[0]
BTAudioXpcConnection::SendStartMsg null values[1]

These events occurred close to the reported volume spike. However, I cannot confirm that they directly caused it.

Possible Root Cause

I suspect there may be a race condition or lifecycle issue involving Core Audio Process Taps, particularly during audio device reconfiguration or Tap recreation.

If the original application audio becomes unmuted before Fader's attenuated audio path is fully restored, unattenuated audio might temporarily reach the headphones.

This is only a hypothesis based on the logs, not a confirmed root cause.

Questions / Request

Could you please investigate:

  1. Whether audio can bypass Fader's volume attenuation when a Process Tap is destroyed or recreated.
  2. Whether repeated RemoveMuter / AddMuter operations can temporarily expose the original unattenuated audio stream.
  3. Whether Bluetooth audio device reinitialization could trigger this behavior.
  4. Whether a fail-safe mechanism could prevent unexpectedly loud output if Fader's audio processing becomes unavailable.

Since this issue could potentially cause hearing damage, I would appreciate any guidance on preventing these sudden volume spikes.

I can provide the relevant diagnostic logs if needed.

Thank you for developing and maintaining Fader!

Activity

  1. pantafive commented on Oct 15, 2026

    @pantafive
    Owner

    Thank you for the logs, they helped narrow it down. Fader lowers an app by muting its own output and playing the audio back attenuated, and two paths could hand the app back to its own output at full volume: rebuilding that audio path (a new helper process like com.soda.music.helper, an output change, a Bluetooth reconnect) tore the old one down before the new one was ready; and a rebuild that failed was not retried while the app kept playing. With headphones that ignore the macOS volume, Fader is the only attenuation, so each of those was a full-volume blast.

    0.21.0 builds the new path before releasing the old one and crossfades between them, retries a failed rebuild within a fraction of a second, and keeps the app silent rather than loud while it retries. Please update and let me know if it happens again. If it does, two things would help: your macOS and Fader versions, and whether the spikes line up with Lark calls — a call switching the headphones to their headset profile would explain the Bluetooth churn in your log.

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

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