search for: lost_sync

Displaying 5 results from an estimated 5 matches for "lost_sync".

2013 Jul 01
3
About Decode Streaming
...nt PC and decode after streaming in other PC because of bandwidth limit. I run your sample codes, encode.c and decode.c, about file encode / decode. Then, I run streaming encode / decode with two different source codes but when I use streaming encode / decode over network in real-time, code throws LOST_SYNC exception and only reading callback runs not writing callback after exception. How can I solve sync problem over network? Is it possible over network or does FLAC stream with file? Best Regards, Orcun. -- Burak Or?un ?ZKABLAN Computer Science Engineer Mobile : 0 541 302 18 78 -----------...
2013 Jul 01
2
About Decode Streaming
...LAC__stream_decoder_init_stream. The >> decoder stream function takes 3 callback functions, write, read and error. >> What I understand from LOST SYNC exception is write and read callback >> must runs sync. I can not success it, code runs only reading callbacks and >> throws LOST_SYNC exception. >> >> >> 2013/7/1 Martijn van Beurden <mvanb1 at gmail.com> >> >>> On 01-07-13 16:48, Burak Or?un ?zkablan wrote: >>> > [...] >>> > >>> > I run your sample codes, encode.c and decode.c, about file encode / >&gt...
2013 Jul 02
0
About Decode Streaming
...pile_array* *if(input_pile_size > 0) {* * memcpy(input_pile_array, buffer, input_pile_size);* * input_pile_size = 0;* * * * * * return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE;* *}* * * *return FLAC__STREAM_DECODER_READ_STATUS_ABORT;* * * and I wait for calling write callback but program throws LOST_SYNC exception. I don't know what causes. 2013/7/1 Burak Or?un ?zkablan <borcunozkablan at gmail.com> > Sorry, I am newbie. > > Sample codes are from > https://github.com/oneman/libflac/tree/master/examples/cpp. > I used FLAC__stream_decoder_process_single function but it st...
2013 Jul 01
0
About Decode Streaming
...LAC__stream_decoder_init_stream. The decoder stream function > takes 3 callback functions, write, read and error. > What I understand from LOST SYNC exception is write and read > callback must runs sync. I can not success it, code runs only > reading callbacks and throws LOST_SYNC exception. > > > 2013/7/1 Martijn van Beurden <mvanb1 at gmail.com > <mailto:mvanb1 at gmail.com>> > > On 01-07-13 16:48, Burak Or?un ?zkablan wrote: > > [...] > > > > I run your sample codes, encode.c and decod...
2013 Jul 02
2
About Decode Streaming
...ray, buffer, input_pile_size);* > * input_pile_size = 0;* > * > * > * > * > * return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE;* > *}* > * > * > *return FLAC__STREAM_DECODER_READ_STATUS_ABORT;* > * > * > and I wait for calling write callback but program throws LOST_SYNC > exception. I don't know what causes. > > > 2013/7/1 Burak Or?un ?zkablan <borcunozkablan at gmail.com> > >> Sorry, I am newbie. >> >> Sample codes are from >> https://github.com/oneman/libflac/tree/master/examples/cpp. >> I used FLAC__stream...