<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: Making a pluggable primitive - basic questions</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>&gt; Dave</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Thanks very much for the help. I am absolutely staggered that I </FONT>
<BR><FONT SIZE=2>&gt; managed to do this and in less than an hour. Not sure I did everything </FONT>
<BR><FONT SIZE=2>&gt; correct so please double check me.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 1. Downloaded the 3.7.1 sources and win32 tools.</FONT>
<BR><FONT SIZE=2>&gt; 2. Ran the make on the sources, completed without error.</FONT>
<BR><FONT SIZE=2>&gt; 3. Now the dodgy bit. Thought I would try the new Squeak.exe it built </FONT>
<BR><FONT SIZE=2>&gt; with the 3.8 image and change set. It ran up and appeared to work fine.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 4. Filed-in my plugin class from my 3.8 system.</FONT>
<BR><FONT SIZE=2>&gt; 5. Ran VMMakerTool and dragged my SDRPhasingDSPPlugin into the </FONT>
<BR><FONT SIZE=2>&gt; ExternalPlugins. Hit GenerateExternalPlugins and it dropped the 'C' </FONT>
<BR><FONT SIZE=2>&gt; code into the plugins directory.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>you can build just the one plugin if you select it, right click and </FONT>
<BR><FONT SIZE=2>choose &quot;generate plugin&quot;</FONT>
</P>

<P><FONT SIZE=2>&gt; 6. Ran make again and it built just the plugin.</FONT>
<BR><FONT SIZE=2>&gt; 7. Copied the dll over to the root of my 3.8 system and as far as I </FONT>
<BR><FONT SIZE=2>&gt; can tell it does call it because I can change the smalltalk plugin </FONT>
<BR><FONT SIZE=2>&gt; code and it still executes the code I built.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>cool.</FONT>
</P>

<P><FONT SIZE=2>&gt; Now I need to build the real thing with all my C code (which includes </FONT>
<BR><FONT SIZE=2>&gt; PortAudio) hanging off the plugin</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
</P>

<P><FONT SIZE=2>Brad Fuller wrote:</FONT>
<BR><FONT SIZE=2>&gt;&gt; are we both building a PortAudio plugin? What's the extent of your </FONT>
<BR><FONT SIZE=2>&gt;&gt; PortAudio work?</FONT>
</P>

<P><FONT SIZE=2>Not exactly, at least not yet. I am building a software radio which at the moment is just front end stuff. The signal processing is all written in C and there are various sources of it, my own stuff, some from the Flex Radio open source project as well as GNURadio. The processing essentially processes an audio stream so the stream does not need to touch Squeak although there might be some advantages if it did so. At the moment I just have a simple phasing demodulator I am trying to hook in. The interface to it is just a control interface, so pretty simple.</FONT></P>

<P><FONT SIZE=2>Bob </FONT>
</P>


<P><STRONG>*** Confidentiality Notice ***</STRONG> 
Proprietary/Confidential<BR>Information belonging to CGI Group Inc. and its 
affiliates<BR>may be contained in this message. If you are not a 
recipient<BR>indicated or intended in this message (or responsible 
for<BR>delivery of this message to such person), or you think for<BR>any reason 
that this message may have been addressed to you<BR>in error, you may not use or 
copy or deliver this message<BR>to anyone else.&nbsp; In such case, you should 
destroy this<BR>message and are asked to notify the sender by reply 
email.</P>
</BODY>
</HTML>