Ticket #544 (closed defect: fixed)
module-hal-detect detects first device only
| Reported by: | cmt | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.16 | Component: | module-hal-detect |
| Keywords: | FreeBSD module-hal-detect | Cc: |
Description
On recent FreeBSDs (7.2-RC) multi-output/codec chips like HDA capable devices show up as multiple /dev/dsp* devices and likewise as multiple devices in lshal (see attachment). module-hal-detect in pulseaudio 0.9.14 (FreeBSD ports) and 0.9.15 use the first device (index 0) very deliberately, judging from the comment in 0.9.15. On systems like mine where the main output is driven via a device different than dsp0 (dsp1 here) the "right" output device never shows up as a sink. Changing a single line of code in module-hal-detect remedies this, but obviously there was some reason in not using any device beyond index 0, so there must be a better solution than the attaced patch.
