Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Fix issues on Linux#2

Open
cfint wants to merge 4 commits intoO2C14:masterfrom
cfint:linux-fixes
Open

Fix issues on Linux#2
cfint wants to merge 4 commits intoO2C14:masterfrom
cfint:linux-fixes

Conversation

@cfint
Copy link
Copy Markdown

@cfint cfint commented Nov 18, 2024

These changes fix issues compiling on Linux. Encode and decode has been tested and working.

Mic92 added a commit to Mic92/nixpkgs that referenced this pull request Mar 30, 2026
The decoder init passes UNSET (-1) as channel_config_index to
ldaclib_set_config_info because the struct fields are assigned after
the call instead of before. Fails with LDAC_ERR_ASSERT_CHANNEL_CONFIG
(533) on every invocation.

This breaks LDAC A2DP in PipeWire: codec_init fails, the bluetooth
sink never starts, and all streams routed to it stay stuck in [init]
with no audio and no user-visible error.

Upstream PR: O2C14/libldac-dec#2
Mic92 added a commit to Mic92/nixpkgs that referenced this pull request Mar 30, 2026
The decoder init passes UNSET (-1) as channel_config_index to
ldaclib_set_config_info because the struct fields are assigned after
the call instead of before. Fails with LDAC_ERR_ASSERT_CHANNEL_CONFIG
(533) on every invocation.

This breaks LDAC A2DP in PipeWire: codec_init fails, the bluetooth
sink never starts, and all streams routed to it stay stuck in [init]
with no audio and no user-visible error.

Upstream PR: O2C14/libldac-dec#2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant