Ticket #466 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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.

Change History

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.9.15

Hmm, looking at this again, this actually *is* a PA bug. Fixed in rd59ee34.

Changed 3 years ago by lennart

That's r8519f54 of course.

Note: See TracTickets for help on using tickets.