Fix some uglyness

Frank A. Stevenson frank at
Sun Nov 25 22:29:11 UTC 2012

Attached is a patch that fixes some global ugliness. The dependencies
are a bit iffy, so you need a make clean after applying this.

This fix needs to be in place before you decode multiple carriers. I
would like to suggest that tetra-rx.c be changed so that it can receive
multiplexed streams of input. Byte values of 0 / 1 will be the primary
stream, but other values can be used to encode the multiplexed streams.

The easiest method is to use the high order bits of the input as a
"stream id", and dynamically create new state structs as they appear in
the stream.

Does this sound like a decent solution ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_ugly.diff
Type: text/x-patch
Size: 2198 bytes
Desc: not available
URL: <>

More information about the tetra mailing list