Re: [buildcheapeeg] Software architecture

From: Jim Peters (jim_at_uazu.net)
Date: 2002-02-15 09:38:58


Jim Meissner wrote:
> > It also handles sync-loss and allows that to be reported to the
> > user.
> I would like to look over your shoulder and look at your code or
> code segment. We wrote a routine that will automatically re-sync
> the data stream. If you would you like to see that, I will take a
> look. I don't quite remember how but we spent quite a bit of time
> on it because I thought it was "very" important.

Well, all I am doing is searching forwards for another 0x03 byte if
there isn't one where I'm expecting it. This has been good enough for
the data files I've tried so far. If this turns out not to be good
enough, I can improve the algorithm. In any case, so long as the user
knows that something has gone wrong (i.e. it is indicated on the
display, for example, with a bright red line), they'll have some
understanding of anything strange that appears around that area of the
display.

Once I've got the thing basically working, then we can look at
improving this code, okay ?

My aim is to get this working and cross-compiled for Windows so that
you (and others) can test it and make suggestions.

Jim

-- 
Jim Peters (_)/=\~/_(_) jim_at_uazu.net
(_) /=\ ~/_ (_)
Uazú (_) /=\ ~/_ (_) http://
B'ham, UK (_) ____ /=\ ____ ~/_ ____ (_) uazu.net


This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:38 BST