hi,

i've got some more clues after a bit of debug....

the decoding failure after the reconnection seems
to be dued to some remaining bits in the decoder
but there's not API to clean this up.

fortunately, when you feed the decoder with new frames,
it will "resync the bitstream" after a while.
the problem is that the decoder will be useless until
it decides to take this action.

so, better wait for a while after a reconnection to see if it recovers.

cheer,

sevy/yves

martin pi wrote:


* yes, mp3amp~ ( as well as shoutamp~ i guess ) sometimes
fails to connect, decodes in a looping mode or crashes,
unfortunately these errors are located in the decoding library
( mpglib ) and i am still looking for one that really runs smoothly.

no no - you do not need to hack mpglib for me. it
is just good to know, when and where it hangs.

best wishes
martin



martin pi

http://attacksyour.net/pi

johann strauss gasse 32|7 1040 vienna

www.machfeld.net


_______________________________________________
PD-list mailing list
PD-list@iem.kug.ac.at
http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list