Ticket #466 (closed defect: fixed)
module-suspend-on-idle doesn't play nice with module-oss
| Reported by: | jmcneill | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.15 | Component: | module-oss-* |
| Keywords: | netbsd oss | Cc: |
Description
When module-suspend-on-idle is loaded, pulseaudio aborts with the following assertion on unsuspend:
module-oss.c: Assertion 'u->mixer_devmask & ((1 << 0)|(1 << 4))' failed at modules/module-oss.c:805, function sink_get_volume(). Aborting.
I can't see any other places in the module that would set or clear mixer_devmask other than in pa__init, and with module-suspend-on-idle disabled everything works fine.
I found the following reference to the same issue a while back:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2008-July/002111.html
However, the suggestion to use the ALSA module is not an option for NetBSD. We use module-hal-detect to discover audio devices, and since the HAL spec doesn't have provisions for our native audio API (something similar to Sun audio) the OSS compatibility layer is used for PA.
