<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>I've only ever considered having the audio engine 
and visual controller on the same PC, but I suppose using TCP it would make 
it&nbsp;possible for them to be separated onto a different PC, which would make 
things interesting, and perhaps quite useful in some situations.&nbsp; It would 
then be possible for real-time remote control or monitoring, or a 2nd studio, 
which some larger stations have,&nbsp;could easily take over the audio 
engine&nbsp;with a separate controller.&nbsp; Hmmm.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Leigh Wanstead" &lt;</FONT><A 
href="mailto:leighw@softtech.co.nz"><FONT face=Arial 
size=2>leighw@softtech.co.nz</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: "NZ Borland Developers Group - Delphi List" 
&lt;</FONT><A href="mailto:delphi@ns3.123.co.nz"><FONT face=Arial 
size=2>delphi@ns3.123.co.nz</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Friday, November 25, 2005 2:14 
PM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: RE: Re: [DUG] Reference 
counting</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>Why not use share memory? Nothing will be faster than sharing the 
same<BR>memory block. Of course need to be little 
careful.<BR><BR>Regards<BR>Leigh<BR></FONT><A href="http://www.salenz.com"><FONT 
face=Arial size=2>http://www.salenz.com</FONT></A><BR><BR><FONT face=Arial 
size=2>-----Original Message-----<BR>From: </FONT><A 
href="mailto:delphi-bounces@ns3.123.co.nz"><FONT face=Arial 
size=2>delphi-bounces@ns3.123.co.nz</FONT></A><BR><FONT face=Arial 
size=2>[mailto:delphi-bounces@ns3.123.co.nz]On Behalf Of Kyley Harris<BR>Sent: 
Friday, 25 November 2005 2:05 p.m.<BR>To: NZ Borland Developers Group - Delphi 
List<BR>Subject: Re: Re: [DUG] Reference counting<BR><BR><BR>&gt; wanted the 
audio engine to be separate from the application which<BR>&gt; controls 
it.&nbsp; So I have 2 apps which needed fast communication, since<BR>&gt; it's 
providing VU meter data and elapsed times etc continuously 20 times<BR>&gt; a 
second.&nbsp; I don't think TCP would handle that well.<BR><BR>;) I Think you 
should test. TCP runs as fast as your network card. so<BR>around 10mb per 
second<BR>on a 100mb card.<BR><BR>The following code runs at around 5,500 
iteratations a second as a ping<BR>returning same<BR>quantity of data, not 
20.... As I said, its not TCP thats slow, its the<BR>programmers who 
implement<BR>stuff on top of it.<BR><BR>procedure TForm1.BitBtn1Click(Sender: 
TObject);<BR>var<BR>&nbsp;&nbsp; i:integer;<BR>&nbsp;&nbsp; 
l:TLIst;<BR>&nbsp;&nbsp; c:cardinal;<BR><BR>begin<BR>&nbsp;&nbsp; 
IdTCPClient1.Host := 'localhost';<BR>&nbsp;&nbsp; IdTCPClient1.Port := 
11000;<BR>&nbsp;&nbsp; IdTCPClient1.Connect;<BR><BR>&nbsp;&nbsp; i := 
0;<BR>&nbsp;&nbsp; c := GetTickCount;<BR>&nbsp;&nbsp; 
repeat<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; IdTCPClient1.WriteLn('Testing one two 
three four five size seven<BR>eight');<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
IdTCPClient1.ReadLn;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Inc(i);<BR>&nbsp;&nbsp; until 
GetTickCount-c &gt; 1000;<BR>&nbsp;&nbsp; 
showmessage(inttostr(i));<BR><BR><BR>end;<BR>On Fri, 25 Nov 2005 12:07:06 +1300, 
Ross Levis &lt;</FONT><A href="mailto:ross@stationplaylist.com"><FONT face=Arial 
size=2>ross@stationplaylist.com</FONT></A><FONT face=Arial 
size=2>&gt;<BR>wrote:<BR><BR>&gt; TCP is definately useful.&nbsp; I've 
implemented a remote utility to check<BR>&gt; the status of my player and 
provide some control and details of what's<BR>&gt; playing etc, but I decided to 
use the memory sharing facility because I<BR>&gt; wanted the audio engine to be 
separate from the application which<BR>&gt; controls it.&nbsp; So I have 2 apps 
which needed fast communication, since<BR>&gt; it's providing VU meter data and 
elapsed times etc continuously 20 times<BR>&gt; a second.&nbsp; I don't think 
TCP would handle that well.<BR>&gt;<BR>&gt; This system allows users to install 
an update to the controlling<BR>&gt; application without stopping play, assuming 
the audio engine doesn't<BR>&gt; need updating as well.&nbsp; This is useful 
since it is designed for radio<BR>&gt; broadcasting.<BR>&gt;<BR>&gt; 
Ross.<BR>_______________________________________________<BR>Delphi mailing 
list<BR></FONT><A href="mailto:Delphi@ns3.123.co.nz"><FONT face=Arial 
size=2>Delphi@ns3.123.co.nz</FONT></A><BR><A 
href="http://ns3.123.co.nz/mailman/listinfo/delphi"><FONT face=Arial 
size=2>http://ns3.123.co.nz/mailman/listinfo/delphi</FONT></A><BR><BR><BR><FONT 
face=Arial size=2>_______________________________________________<BR>Delphi 
mailing list<BR></FONT><A href="mailto:Delphi@ns3.123.co.nz"><FONT face=Arial 
size=2>Delphi@ns3.123.co.nz</FONT></A><BR><A 
href="http://ns3.123.co.nz/mailman/listinfo/delphi"><FONT face=Arial 
size=2>http://ns3.123.co.nz/mailman/listinfo/delphi</FONT></A><BR></BODY></HTML>