[pulseaudio-tickets] [PulseAudio] #247: OSS4 is incompatible with module-oss, due to some subtle API changes to OSS3
PulseAudio
trac-noreply at tango.0pointer.de
Tue May 6 18:03:26 PDT 2008
#247: OSS4 is incompatible with module-oss, due to some subtle API changes to
OSS3
---------------------------+------------------------------------------------
Reporter: yarrow | Owner: lennart
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: module-oss-* | Severity: major
Resolution: | Keywords:
---------------------------+------------------------------------------------
Changes (by lennart):
* summary: module-oss fails to load. => OSS4 is incompatible with
module-oss, due to some subtle API changes to
OSS3
Comment:
Replying to [comment:7 Saoshyant]:
> Replying to [comment:6 lennart]:
> > As mentioned the problem is that OSS4 signals some POLLxxx constant on
poll() which normal OSS doesn't do. They broke compatibility.
>
> OSS4 is not completely backwards-compatible with OSS3. There's good
reasons why this is so. I'm afraid this will be something that pulseaudio
will have to deal with, forcing a distinction between OSS3/Free and OSS4
to be necessary.
Yes, as I said, ALSA's compat with OSS is better than OSS4's.
The OSS4 docs don't contain any information about the meaning of the
additional POLLxx codes. The current code assumes that they signal some
kind of error (usb audio device unplug and suchlike), which is the reason
we react on those codes as we do.
If you want me to help you, try to figure out what those codes mean. I am
not really interested in investing my own time in figuring in which way
exactly OSS4 differs from OSS.
Or take it the other way: PA supports most things that are OSS3-compatible
just fine. If you want it to support OSS4 too, then *you* have to supply
the necessary information.
--
Ticket URL: <http://www.pulseaudio.org/ticket/247#comment:8>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list