push-qlrtposuymxr #156

Merged
eric merged 21 commits from push-qlrtposuymxr into main 2026-10-18 23:11:04 +02:00
Owner
No description provided.
eric added 21 commits 2026-10-18 23:10:07 +02:00
Adds new detection scoring constants and methods for calculating best scores and seen values. Improves session flow by handling missed detections, calculating peak levels, and adding diagnostic logging for session completion.
This commit introduces the complete AirPlay 2 architecture, shifting from the previous model to a new protocol based on Precision Time Protocol (PTP) for synchronization. It includes new components for robust audio encoding, resampling, spatial mixing, and a comprehensive client API supporting multi-room group management, secure authentication (FairPlay, PairVerify), and real-time streaming via RTSP.
This commit introduces support for the `ntp32` synchronization format to support specific hardware. It also adds new command-line arguments for volume control and application behavior. Additionally, non-functional features, such as delay calibration, have been removed.
Refactor project dependencies and introduce native multiroom playback features. This change shifts the calibration strategy from UPnP to AirPlay, defines group synchronization logic, and introduces a new mDNS discovery service daemon. Dependency management was updated across the project.
This commit introduces the core implementation of the AirPlay 2 protocol, including new cryptographic primitives (ChaCha20-Poly1305, ECDH, SRP), Precision Time Protocol (PTP) timing, and RTSP communication structures.

Key changes include:
*   New multiroom group management, including stream handling, FIFO queues, and clock synchronization logic.
*   RTSP communication flow, including request/response parsing and session state management.
*   Detailed timing mechanisms for clock offset exchange and packet synchronization.
*   Device model enhancements for capability checking and feature parsing.
Refine clock settling logic, introduce ClockHandle structures, and expose core synchronization APIs.
This commit introduces the Precision Time Protocol (PTP) implementation, covering configuration, group startup, running state management, and detailed synchronization logic.

Key changes include:
*   New configuration options for timing and master election.
*   Full implementation of the PTP engine, including actor logic for signaling, offset tracking, and announcement parsing.
*   Enhanced group lifecycle management with detailed shutdown procedures and statistics tracking.
* Mechanisms for clock domain classification, latency monitoring, and dynamic clock correction during synchronization.
Refactors the PTP engine, clock domain planning, and settling logic. Introduces `ClockDomain` types, implements leader clock status determination, and adds configuration support for master election.

Key changes include:
- Defining the PTP Engine structure and asynchronous initialization logic.
- Implementing logic for clock domain planning, settling, and monitoring receiver behavior.
- Refining peer state management, including clock ID publishing via watch channels.
- Updating PTP message handling, including gPTP flags and revised sending logic.
- Adding configuration options for timing parameters and master election behavior.
This commit introduces mechanisms for clock synchronization, including classification, multi-stage startup sequences, and handling of packet history. It also adds support for TCP event connections, session feedback logging, and signal attenuation processing.
This commit introduces significant refinements to audio stream flow control, including modifications to the FIFO implementation to manage discarding and admitting states. It also enhances the sink logic to correctly handle synchronization markers and reject unsupported formats like FLAC. Additionally, the multiroom adapter is updated to ensure robust handling of chained group closures and the clearing of abandoned PCM data, improving overall stream stability and error handling.
Introduces the AirPlayGroupSink implementation, including methods for retrieving the PCM FIFO and checking running status. Also implements PCM discarding logic within the adapter layer to handle dropped flux audio, and adds comprehensive tests for sink behaviors.
Introduces the PTP Engine for actor management, refines group configuration validation, and implements user-defined naming conventions for devices.
Adds methods to construct device friendly names based on configuration, including unit tests. Also updates configuration details for the mediarenderer device.
Introduces the `Processing` trait and `Attenuation` struct to handle audio attenuation logic, ensuring factors are non-negative. Added tests to verify that attenuation processing does not clip audio values at full scale.
This change introduces pacing logic for AirPlay sinks, defines strict audio format limitations, and updates the underlying FIFO structures and pipeline nodes to support lead time tracking.
Introduces core audio processing features, including 32-bit to 16-bit sample reduction, Master Volume control, and robust synchronization logic.

This commit implements the core audio pipeline features, including the introduction of a Reducer for 32-bit to 16-bit sample conversion, updated volume application logic, and new structures for Master Volume and Attenuation.

Key changes include:
- Implementing the `Reducer` for final 16-bit audio encoding.
- Updating data types to handle i32 samples and enforcing gain constraints.
- Enhancing FIFO operations with support for both i16 and i32 blocks.
- Adding comprehensive tests for synchronization, attenuation, clipping, and error handling.
- Implementing the Multiroom Adapter for volume and mute command handling.
Introduces the core mechanisms for managing receiver claims, group configuration, startup, and shutdown procedures. This includes defining complex rules for receiver allocation within AirPlay groups, implementing the receiver claiming lifecycle (including closing and dropping reservations), and adding necessary consistency checks for group configurations.
Adds configuration options for UPnP identification details including manufacturer, UDN prefix, and model name prefixes.

Updates device structures to include new fields for serial number and identification, implementing logic for setting and retrieving these values with default fallbacks.
This commit introduces robust logic for track ending, managing playback states, and implementing a chained, idle-based group closure mechanism. It updates adapter behavior to handle edge cases like track ending without follow-up, improves gapless playback detection, and adds necessary unit tests for group lifecycle management.
Adds comprehensive API endpoints and backend logic for clearing, removing, and moving queue items. This includes new methods in the core queue backend, renderer implementations, and corresponding UI controls for queue management.
Implement drag-and-drop queue functionality
All checks were successful
Release / create-release (push) Successful in 11s
Release / apk (push) Successful in 4m28s
5d990ff553
Introduces drag-and-drop capabilities for queue items in the UI and implements the logic for handling the end-of-queue state, including serving a silence audio file.

Updates the package version to 0.5.13.
eric merged commit 086d7d8c14 into main 2026-10-18 23:11:04 +02:00
eric deleted branch push-qlrtposuymxr 2026-10-18 23:11:10 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pmo/pmomusic!156
No description provided.