There is what looks like a saved game of gnu chess in the tar file under pd/src. The file name is CLp79.Jan01-221509B and contains:
gnuchess 4p79 game score depth nodes time score depth nodes time e2e4 0 0 0 33 c7c5 -44 Book 0 0 d1h5 0 0 0 37 g8f6 10 10 5027040 85 h5f3 0 0 0 118 b8c6 40 8 501248 8 g2g4 0 0 0 121 d7d5 183 8 467747 8 g4g5 0 0 0 29 c6d4 187 7 1375049 18
Didn't mean to be obtuse.
As far as compiling ALSA, the programs that I have seen that used alsa (alsaplayer specifically) use 'plugins' to provide the alsa support. It seems wasteful to statically link the library so maybe some sort of plugins could be used - I assume that most of the support is there with the externals.
One other note about the ALSA support - I get some strange sounds when starting PD with ALSA sometimes that sound like garbage left in the buffers (of the driver - not PD). I make the API calls that I think should flush the buffers but they don't seem to do the trick. If anyone knows how to fix this it would be great.
Karl
On Wed, 8 Mar 2000, Miller Puckette wrote:
Thanks for the warnings... I've fixed these in my copy, except ... gnuchess??? I'm not sure where that's coming from.
I haven't been compiling for ALSA in the distributed version because I've never been able to figure out how to get Pd to link to ALSA non-shared. If you link to the Alsa shared libs Pd won't run on a non-ALSA machine. Someday I'll try again to figure out how to make this work...
Right now I'm trying to fix an ugly problem duplicating abstractions with arrays inside...
cheers Miller
On Tue, Mar 07, 2000 at 07:34:20PM -0500, Karl MacMillan wrote:
Miller,
In s_main.c the -blockmode and -queuesize messages are in the RME define instead of the HAVE_ALSA define so they show up even if alsa support isn't compiled in - line 202. Also, pd doesn't compile without the RME code. Looks great other than that - the watchdog looks exciting though I have only had pd lock up the machine once under realtime and I think that was my fault. Oh, do you mean to be distributing a gnu chess game :) Are we going to see the gnuchess and PD file formats merge for interactive chess composition?
Thanks,
Karl
Miller Puckette wrote:
Hi all,
I've folded in Karl's new ALSA code, and for synchronization purposes I'm putting out the result as "pd-030TEST-linux.tar.gz" in http://lena.ucsd.edu/~msp/Software
I had trouble marging the two because Karl's indentation is different from mine; I preserved 4-space indentation in the OSS and RME code but kept Karl's in the ALSA part.
I'm mystified about Guenter's report of socket() returing 1. I don't know how stdout is getting closed but I think it really shouldn't be. I'll test this tonight...
also Mark Danks reports that close() doesn't undo the work of open_via_path on NT. I'm mystified about that too but will try to track it down.
cheers Miller
-- _____________________________________________________ | Karl W. MacMillan | | Peabody Institute of the Johns Hopkins University | | Network and Telecommunications Services | | karlmac@peabody.jhu.edu | | 410/659-8297 |
| Karl W. MacMillan | | Peabody Institute of the Johns Hopkins University | | Network and Telecommunications Services | | karlmac@peabody.jhu.edu | | 410/659-8297 |