Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • tools
  • tests
  • test_check_audio.py
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    audio: a default sink with no receiver is now one line, not a morning · 7b33c2a3
    PLN on the NVIDIA card: 'it NEVER served me, 100% of the time'. He is right,
    and the reason it kept getting chosen was a saved pin to pro-audio — a profile
    whose 'available' flag is unconditionally yes, because it maps raw PCMs and
    asks no questions about cables. So four sinks reported perfectly healthy while
    every ELD on the card read monitor_present 0 and every connector read
    disconnected. Sound was not muted or misrouted, it was converted and discarded.
    
    The pin is retired (that card is now off, and WirePlumber's own findBestProfile
    will not go back to pro-audio by name). The check that would have said so in
    one line now exists, keyed to the ELD rather than to the profile's own opinion.
    
    Narrow on purpose: it accuses only a sink that leaves the box over a video
    cable, reusing fold-orbits' predicate, because the sof card carries Speaker AND
    an HDMI output — a check keyed on the CARD would have accused the laptop
    speakers while sound was coming out of them.
    
    The first resolver called realpath() on /proc/asound/cardN, which is a plain
    directory, matched nothing, and made the detector dead code that reported
    success. A test now asserts it reads sysfs.
    PLN (Algolia) authored Sep 23, 2026
    7b33c2a3
test_check_audio.py 15.8 KB
EditWeb IDE
×

Replace test_check_audio.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.