Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#468 support for OSSv4

bugfix
pending-accepted
puredata (375)
7
2012-12-04
2012-11-08
No

one of Pd's older audio-backends is OSS.
while OSS is rather old and not a fast-moving target, some development does happen...
e.g. a while ago (probably years) all SOUND_PCM_-defines have been renamed to SNDCTL_DSP_.
luckily, the linux headers provided fallback defines, so old code (like Pd) would still compile.

now OSS is not dead and is currently developed as OSSv4.
unfortunately, the new OSSv4 headers have dropped the old fallback defines, and instead pro-actively create errors when the old defines are still used.

the attached patch changes these defines (and provides fallbacks in case the *new* defines are not defined), in order to be able to still use the OSS backend.

Discussion


Anonymous


Cancel   Add attachments