Audio output sometimes cuts out

Open
#2,008 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python

Research direction

No source file or failing test is named. Start by running test_audio_config on the affected macOS Qt 6 setup and comparing its output with the reported CoreAudio warnings; done means audio playback no longer cuts out or crashes under the reported conditions.

Written by the indexing model from the issue text.

Description

bug
Hydrus version

v669

Qt major version

Qt 6

Operating system

macOS other (specify in comments)

Install method

Running from source

Install and OS comments

Tahoe 26.3

Bug description and reproduction

Sometimes audio will just cut out while playing media. Sometimes accompanied by an immediate crash (that might be a separate issue), sometimes not.

The log output shows:

v669, 2026-04-25 00:59:12: QObject::connect(QIODevice, QPlatformAudioEndpointBase): invalid nullptr parameter
v669, 2026-04-25 00:59:12: Unable to read property "kAudioDevicePropertyPreferredChannelLayout" for object 133 , scope "kAudioObjectPropertyScopeOutput" ; Data size is too small: 12 VS 32 bytes
If the warning is unexpected use test_audio_config to get comprehensive audio info and report a bug
v669, 2026-04-25 00:59:13: QAudioSource: Unable to use find most recent CoreAudio AudioDeviceID for given device-id. The device might not be connected.

Unfortunately difficult to reproduce.

Log output

Dominant language
Python
Stars
3.2k
Forks
207
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hydrusnetwork/hydrus

All issues in hydrusnetwork/hydrus

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.