Audio Delay without netstream?

Hi! I am new to this forum, so let me begin by describing the back story to my problem.

I have been working on a voice-chat system in AS 2.0 using FMS 3.5 for a while now. I have been experiencing a lot of latency. Usually there’s no latency to begin with but it grows over time to several seconds. Up until this point, I have assumed that this latency is due to a slow server/low bandwidth since I have tinkered around with all of the buffer settings (that I know about) already.

However, today I decided to see what would happen if I just attached the audio of the microphone to _root. In other words, the script does not connect to FMS and there’s no streaming going on at all. All I have is essentially:

myMic = Microphone.get();
_root.attachAudio(myMic);

However, even in this case I get a delay! In fact the same sort of thing happens: there’s no delay to begin with, but it grows to approximately 1.5 seconds over time (very quickly in fact). In order to track down where it could be coming from, I decided to add a microphone activity clip that showed the activity of the mic. Perhaps not so surprisingly this activity clip was perfectly in sync with the actual activity of the mic (i.e. no delay). So it seems like there’s a delay due to the attachAudio command.

Any ideas on why this is? Is there some inherent buffer in the attachAudio command?

I’m completely lost, and have spent hours searching the web to find anything on this. Unfortunately all I can find are comments about the buffer time when using a netstream. Like I said though there’s no netstream in this most recent code… all I’m doing to attaching a mic to _root.

I would appreciate any help you can give.

–Pontus