Hi, The attached patch does the following: 1) Run ossdetect after inserting a USB device using hal policy file. Two files are added at setup/Linux/scripts: oss_usb-create-devices and 90-oss_usb-create-device.fdi. They are installed into scripts/ and symlinked to hal directories by build.sh. (oss_usb-create-devices should have 755 permissions). The location match defaults for hal 0.50+. Thanks to Ionic for testing the scripts.
2) Add a --enable-libsalsa=YES|NO option to configure. Default is YES, but using NO will prevent trying to compile it. 3) Don't touch devlists on $SRCDIR in build.sh. No idea why this was done in the first place, but it adds unwanted changes to hg if running configure from hg repo directory. (Linux/FreeBSD/SCO. Last two are untested, but should work). 4) tutorials - A) Add some more programs to samples/Makefile. B) samples/mmap_duplex.c - Comment and actual use don't match: >int frag = 0xffff0008; /* 32 fragments of 2^8=256 bytes */ Should be 0x00200008, no? This should be fixed in manual site too: http://manuals.opensound.com/developer/mmap_duplex.c.html#LOC2 (Noticed by someone on #oss, can't remember handle). C) Add SNDCTL_DSP_SYNC to playchar() morse/morse.c. Otherwise, I get some crackling after playing 'w'. D) Some other misc. changes. Yours, Yair K.
oss-usb-create-devices.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel