Skip to content

Conversation

@OzGav
Copy link
Contributor

@OzGav OzGav commented Oct 28, 2025

Previously, squeezelite players in sync groups were limited to
44.1kHz/16-bit output even when configured to support higher
sample rates and bit depths (e.g., 96kHz/24-bit). Individual
players worked correctly, but grouping them caused quality
degradation.

The issue was in _serve_multi_client_stream() which created
AudioFormat with only the content type, causing sample rate
and bit depth to default to minimum values.

This fix:

  • Uses streams controller's get_output_format() to properly
    determine output format based on player capabilities
  • Preserves original content format through MultiClientStream
  • Passes content format to get_output_format() for proper
    quality negotiation

Grouped players now output at min(content_format, player_capability),
matching the behavior of individual players.

Fixes: music-assistant/server#<issue_number>

@OzGav OzGav added the bugfix label Oct 28, 2025
@OzGav OzGav requested a review from marcelveldt November 1, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No high definition audio for sync groups?

3 participants