I'm developing OpenWrt device which sends audio data to network but I have issues in the early beginning.
I'm trying to find which cause delay in playing (or maybe recording, but more probably playing) real time record from microphone.
For example I run
arecord | aplay on my Debian machine and the delay in playing is somewhere between 500-1000 ms.
When I run the same command on my OpenWrt box (TP LINK wr703n) I get almost the same delay (Same to
cat /dev/dsp > /dev/dsp)
When I stream sound using netcat(with UDP) from OpenWrt box to Debian PC (on LAN) I get almost the same delay. I think It does not depend on sound card - on OpenWrt I use usb sound card connected via hub and on Debian machine I use integrated notebook sound card.
Which could cause this delay? Or do you know possible solutions?
Thank you and sorry my english :)