Hi, I'm attaching several patches: A. Use $HOSTCC and $CC instead of hardcoded cc in the build.sh scripts. Allow overriding by using HOSTCC or CC env vars. B. Link shared libraries with "cc -shared" instead of ld under linux. This allows the use of atexit() in libossmix under Linux. C. Misc patch: 1. make oss(x)mix use nrext member of oss_mixerinfo instead of extra SNDCTL_MIX_NREXT call. 2. Add a VAIO hdaudio id to oss_hdaudio. 3. Don't do anything to /dev/snd in remove_drv.sh - it's harmless AFAICT. 4. oss_cs461x: style changes.
Btw, I noticed that the http://manuals.opensound.com/developer/SNDCTL_MIXERINFO.html page refers to the struct as "oss_audioinfo" instead of "oss_mixerinfo" in one location. Yours, Yair K.
oss-hostcc.diff.gz
Description: GNU Zip compressed data
oss-linking.diff.gz
Description: GNU Zip compressed data
oss-misc.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel