How to create a test to measure end to end audio delay Lets say I have a program like Skype and I call to my friend. I want to create a test to figure out what is the average delay from the audio, from my mic to his speakers. 

I want to measure:


delay in one instance of time
delay over longer period (60 s)


Assumptions that i can make:


at least 8000 samples per second. 
devices are in the same room and network propagation delay is negligible.
external mic and photo-detector/camera should be used.
I recently ecountered this problem too (about a month ago). This is what I found..

Network delay measuring protocol (NDMP) - little useful free-ware program. I used the same program to measure other VoIP call delay.

You can download it from here: http://www.unforgettable.dk/42.zip
ReadMe file is included in .zip file.