geesawra.industries/hydraulophone
An unofficial YouTube Music app for iPhone, iPad, and Mac.
High gapless playback test brief
Date: 2026-09-23. Automated test implementation/runs remain deferred at the
owner's request. When authorized, use just test for package coverage.
Recorded listening result
On 2026-09-23, the owner checked High transitions with Protest the Hero tracks
on the physical iPhone and reported “It’s perfect.” The console separately
recorded gapless transition node_restarted=false. The exact pair was not
specified. This confirms the listening check; the additional scenarios below
remain deferred and are not implied by that result.
Deterministic decoder and scheduling coverage
- Use two licensed/generated Opus fixtures encoding a continuous signal split at a known sample. Apply CodecDelay/pre-skip and final signed DiscardPadding; assert exact frame counts and contiguous output, with no inserted silence, duplicate samples, or truncation to rounded InnerTube duration.
- Include mono-to-stereo, stereo-to-mono, nonzero output gain, first packet shorter than pre-skip, partial last buffers, and very short tracks.
- Drive a fake output clock across A/B/C. Before the last A buffer finishes, metadata, queue index, duration, and Last.fm still describe A. At its played callback they switch once to B; local progress resets while the output clock and node stay continuous. Repeat for B/C, including short B fully scheduled before it becomes audible.
- Prefetch once in the final 45 seconds, with at most one prepared successor and roughly six seconds total scheduled PCM. Progress callbacks must not spawn duplicate resolution or repeat a failed prefetch each tick.
- Cover duplicate song IDs with distinct occurrence UUIDs, Repeat One, Repeat All wraparound, shuffle, queue append, Play Next, removal, and manual Next. A stale prepared occurrence must never play or publish metadata.
- Mutate the successor before/after its PCM is scheduled. Only the latter requires flushing/reseeking current audio. Rapid edits/seeks must join cancelled decoding before reusing its reader. Cancelled completions cannot change the active queue or subtract frames from a new render generation.
- Pause before/at a boundary and resume. Seek in A after B is prepared; seek in B after promotion; seek zero; end of queue; stop/sign-out/quality switch.
- Fail resolution, first decode, and later successor range reads. Preserve A until its boundary, then use existing fresh-resolution recovery for B. Simulate preparation arriving after A has drained; retain ordinary queue advancement without deadlock or a false gapless success marker.
- Keep Last.fm listening time separated by occurrence; prefetch is not Now Playing/scrobbling, and repeats create fresh listening records.
Physical listening acceptance
- Select High and play a known continuous album pair in order, repeat off. Begin at least 20 seconds before the boundary if seeking to shorten the check. Listen for any inserted pause/click or missing tail/head samples.
- Observe one
gapless transition node_restarted=falseconsole marker, queue advancement, elapsed time resetting, and correct native title/artwork. Repeat over three consecutive tracks and with the phone locked. - Check pause/resume near the boundary, Repeat One/All, shuffle, manual Next, Play Next, and successor removal while preparation is active.
- Check route changes/interruption, network loss/recovery, and return to Standard. Standard and cross-quality boundaries are not covered by this first native Opus implementation.
Do not claim sample-perfect acoustic output from a scheduler log alone. Record the listening result separately from build/lint evidence; do not save account metadata, raw media URLs, or copyrighted media fixtures in the repo.