Patches item #3585457, was opened at 2012-11-08 12:17 Message generated for change (Tracker Item Submitted) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3585457...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix Status: Open Resolution: None Priority: 5 Private: No Submitted By: IOhannes m zmölnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: support for OSSv4
Initial Comment: 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.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3585457...