error recovery?

Gerd Knorr <[email protected]>
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
  Hi,

Any hints how to recover from decoding errors, i.e. how to continue
after mad_frame_decode() returned MAD_ERROR_LOSTSYNC?

Just call mad_stream_buffer() with the next data block and then
mad_frame_decode() again seems not to work.  In the mad.h header file
is a function called "mad_stream_sync", should I call that one?  Before
calling mad_stream_buffer() or thereafter?

  Gerd

-- 
You have a new virus in /var/mail/kraxel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.