[LAD] [LAU] Open Source Audio Interface

gordonjcp at gjcp.net gordonjcp at gjcp.net
Thu Sep 11 21:29:24 UTC 2014


On Thu, Sep 11, 2014 at 09:17:26PM +0000, Fons Adriaensen wrote:
> Re. the format used by njbridge: for IPv4 the IP and UDP 
> headers together take 28 bytes. That is less than 2 percent
> of 1500, and is a small price for having packets that can be
> handled by switches and routers. There is really no point in
> trying to reduce that sort of overhead. The njbridge format
> itself adds a 20 byte header to sample packets. This data is
> used to identify the packet, to improve the timing and handle
> skipped cycles, xruns, lost packets and the like. All together
> the overhead is less than 3.5%.

But then you *must* take care of timing, since you have no idea if packets passed through a router will arrive in order, how long they'll take to traverse it, or even if they'll arrive unmangled at all.

If you are going to strip it down, just go with bare Ethernet frames :-)

-- 
Gordonjcp MM0YEQ


More information about the Linux-audio-dev mailing list