Saturday, 4 April 2009

Audio Problem Investigations...

Well, that was VERY hard work. I've been looking into the issues with broken voice, and it appears that it has everything to do with the sync frame.

In short, the sequence 0x55 0x2d 0x16 has to be repeated every 21 frames, or else things break down. What I had been doing was assuming that taking the frames off "the wire" would be sufficient - it wasn't.

So, now I split the slow-speed data from the audio (why, oh why did they put a data channel in the audio bit-stream in UDP ?????) and rebuild the sync frame by sending every 21 frames. I then in-fill periods of lost sync with silence packets - this has the effect of breaks in the audio if the pattern is lost.

Things sound pretty good on RX now...

0 comments:

Post a Comment