Dasharo / open-source-firmware-validation

OSFV infrastructure with automated tests and scripts for managing test results
Apache License 2.0
9 stars 2 forks source link

Extend audio tets #609

Open macpijan opened 3 days ago

macpijan commented 3 days ago

Detect sound card and audio sink separately.

Currently our detection methods might be different for Linux and Windows. If there is no actual oputput connected, we may have PASS for Linux (we check for sound card presence only), while at the same time we get FAIL for Windows (maybe we check just for sink, or maybe Windows is different in this matter?)

This may be often confusing, and suggesting windows drivers might be missing, while in fact there is no audio device connected.

Detecting sound card and audio sink in two different test cases, would help to isolate that.

SebastianCzapla commented 12 hours ago

Related: https://github.com/Dasharo/open-source-firmware-validation/issues/593

Commit: 15560f19cde19b4a2d841a26fd196018ff3272ac changes detection on windows side to detect wider spectrum of devices, sources, and sinks, which could be used as a base for separated detection (filtering speakers from audio cards or virtual sound devices)

macpijan commented 8 hours ago

This is step in good direction, but ideally we have separate test cases, so we detect audio card and speakers (or headphones) separately.