Skip to content

Knocking Sound Through System Output After Upgrade to v3.0.2 #258

@editbe

Description

@editbe

xPilot version: 3.0.2
Previous version (working): 3.0.1
X-Plane version: 12.4.0-r2-9b69b91a
macOS version: 26.3.1 (25D2128)
Hardware: MacBook Pro M2

Description

After upgrading from xPilot 3.0.1 to 3.0.2, a knocking sound repeats every couple of seconds through the system output device. The issue only occurs while connected to VATSIM. It stops immediately upon disconnecting, even with xPilot still running.

The log shows repeated FMOD Error 30 (An invalid object handle was used) in Sound.cpp at both the Play and Unpause stages, firing in pairs at the same cadence as the audible knocking. This may be related to the miniaudio/CoreAudio library update introduced in 3.0.2.

Steps to Reproduce

  1. Launch X-Plane 12 with the xPilot plugin loaded
  2. Open the xPilot client and connect to VATSIM
  3. Knocking sound begins immediately, repeating every couple of seconds
  4. Disconnect from VATSIM — sound stops immediately

Actual Behavior

A knocking sound repeats every couple of seconds through whichever device is set as the macOS system output, regardless of which output device is selected in xPilot's audio settings or in X-Plane's audio settings. Changing audio output settings in either xPilot or X-Plane does not resolve the issue, the sound always follows the macOS system output setting.

Tested on multiple output devices, all affected:

  • MacBook Pro M2 built-in speakers
  • External USB-C speakers
  • Jabra USB-C headset

Relevant Log Output (from X-Plane Log.txt)

0:37:06.594 xPilot/XPMP2 ERROR Sound.cpp:493/Play: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:06.625 xPilot/XPMP2 ERROR Sound.cpp:551/Unpause: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:06.857 xPilot/XPMP2 ERROR Sound.cpp:493/Play: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:06.885 xPilot/XPMP2 ERROR Sound.cpp:551/Unpause: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:07.988 xPilot/XPMP2 ERROR Sound.cpp:493/Play: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:08.043 xPilot/XPMP2 ERROR Sound.cpp:551/Unpause: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:08.902 xPilot/XPMP2 ERROR Sound.cpp:493/Play: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused
0:37:08.929 xPilot/XPMP2 ERROR Sound.cpp:551/Unpause: FMOD Error 30 - 'An invalid object handle was used.' in FMOD_Channel_SetPaused

(errors repeat continuously at the same cadence as the knocking sound)

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