On 02-07-13 16:13, Burak Orçun Özkablan wrote: > Yes, I have tried plain wav data with file and stream functions of > decoder and encoder. They work succesfully.
Okay, so that's not the problem. Clear. > You're right about FLAC can't find the first block in stream, because > I didn't add any metadata in stream. The documentation of FLAC says > that metadata callback function is optional for stream function of > decoder, so I didn't need adding metadata. There is metadata, whether you add it or not. I'm not talking about data you might add, like a title, tracknumber or trackname, but data that is in the STREAMINFO block. That is mandatory and added by the FLAC encoder, even if you don't specify any callbacks. > Actually, I am sure about network data transferring is good, there is > no problem, i have tested so much and observed all data has > transmitted at every time. I suspend that sync problem occurs from > network latency. Do you have any idea about this? If read callback may > sleep or process more than excepted time, does sync lost? Maybe, can't tell. I'm not really a programmer, I just know a little about the FLAC format, so at this point I can't help you anymore. Maybe someone else on this list. _______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev