<!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 possible for them to be separated onto a different PC, which would make
things interesting, and perhaps quite useful in some situations. It would
then be possible for real-time remote control or monitoring, or a 2nd studio,
which some larger stations have, could easily take over the audio
engine with a separate controller. Hmmm.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Leigh Wanstead" <</FONT><A
href="mailto:leighw@softtech.co.nz"><FONT face=Arial
size=2>leighw@softtech.co.nz</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: "NZ Borland Developers Group - Delphi List"
<</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>></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>> wanted the
audio engine to be separate from the application which<BR>> controls
it. So I have 2 apps which needed fast communication, since<BR>> it's
providing VU meter data and elapsed times etc continuously 20 times<BR>> a
second. 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> i:integer;<BR>
l:TLIst;<BR> c:cardinal;<BR><BR>begin<BR>
IdTCPClient1.Host := 'localhost';<BR> IdTCPClient1.Port :=
11000;<BR> IdTCPClient1.Connect;<BR><BR> i :=
0;<BR> c := GetTickCount;<BR>
repeat<BR><BR> IdTCPClient1.WriteLn('Testing one two
three four five size seven<BR>eight');<BR>
IdTCPClient1.ReadLn;<BR> Inc(i);<BR> until
GetTickCount-c > 1000;<BR>
showmessage(inttostr(i));<BR><BR><BR>end;<BR>On Fri, 25 Nov 2005 12:07:06 +1300,
Ross Levis <</FONT><A href="mailto:ross@stationplaylist.com"><FONT face=Arial
size=2>ross@stationplaylist.com</FONT></A><FONT face=Arial
size=2>><BR>wrote:<BR><BR>> TCP is definately useful. I've
implemented a remote utility to check<BR>> the status of my player and
provide some control and details of what's<BR>> playing etc, but I decided to
use the memory sharing facility because I<BR>> wanted the audio engine to be
separate from the application which<BR>> controls it. So I have 2 apps
which needed fast communication, since<BR>> it's providing VU meter data and
elapsed times etc continuously 20 times<BR>> a second. I don't think
TCP would handle that well.<BR>><BR>> This system allows users to install
an update to the controlling<BR>> application without stopping play, assuming
the audio engine doesn't<BR>> need updating as well. This is useful
since it is designed for radio<BR>> broadcasting.<BR>><BR>>
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>