search for: borcunozkablan

Displaying 7 results from an estimated 7 matches for "borcunozkablan".

2013 Jul 01
2
About Decode Streaming
...jn, > > I encode a one second captured audio data in my PC and send it to other > PC as encoded. This is OK. > I want to decode data in other PC and play it but when I am decoding data > with decoder stream function, exception throws. > > > 2013/7/1 Burak Or?un ?zkablan <borcunozkablan at gmail.com> > >> Yes, I mean sample codes in FLAC directory. These samples (encode.c and >> decode.c) are about encode/decode with file (using >> FLAC__stream_encoder_init_file and FLAC__stream_decoder_init_file >> functions). >> Streaming which I used is audio...
2013 Jul 01
0
About Decode Streaming
...n, > > I encode a one second captured audio data in my PC and send it to > other PC as encoded. This is OK. > I want to decode data in other PC and play it but when I am decoding > data with decoder stream function, exception throws. > > > 2013/7/1 Burak Or?un ?zkablan <borcunozkablan at gmail.com > <mailto:borcunozkablan at gmail.com>> > > Yes, I mean sample codes in FLAC directory. These samples > (encode.c and decode.c) are about encode/decode with file (using > FLAC__stream_encoder_init_file and FLAC__stream_decoder_init_file > fun...
2013 Jul 02
2
About Decode Streaming
Martijn, I don't use any metadata when encoding and decoding. When I call *FLAC__StreamDecoderStateString[FLAC__stream_decoder_get_state(m_decoder)] * * * it returns FLAC__STREAM_DECODER_SEARCH_FOR_METADATA enum value. Is it an error ? 2013/7/2 Burak Or?un ?zkablan <borcunozkablan at gmail.com> > Hi again, > > I can not solve problem. I want to mention my source code, so you may > answer easily. > > This is decoder init stream function. > > *FLAC__stream_decoder_init_stream(m_decoder, decoderReadCallback, NULL, > NULL, NULL, NULL, decoderWriteC...
2013 Jul 01
3
About Decode Streaming
Hi, I am developing an audio network system and using boost, OpenAL and FLAC library in C/C++. I can stream raw audio data over network but I want to encode audio before streaming in current 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
2013 Jul 02
0
About Decode Streaming
...e_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 still gives > exception. Maybe I could not control read callback, you're right. > I...
2013 Jul 02
2
About Decode Streaming
Thank you so much for polite help Martijn. Allison, My read callback function is just ; * /// \brief read callback function of decoder* * FLAC__StreamDecoderReadStatus decoderReadCallback( const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *callback_param)* * {* * // mutex lock* * m_mutex.lock();* * * * // copy buffer array to m_pile_array* * if(input_pile_size > 0)
2013 Jul 02
3
About Decode Streaming
Yes, I have tried plain wav data with file and stream functions of decoder and encoder. They work succesfully. 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. Actually, I am sure