search for: flac__stream_decoder_init_stream

Displaying 9 results from an estimated 9 matches for "flac__stream_decoder_init_stream".

2013 Jul 01
2
About Decode Streaming
...t;> I can stream without FLAC library but I have to do with any codec library >> because our network bandwidth is low so I dont want overhead problem and >> latency. >> >> For streaming, FLAC suggests streaming functions such as >> FLAC__stream_encoder_init_stream, FLAC__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 Feb 09
2
Newbie question about those callbacks
For instance the write_callback thing: client_data ? can it be a pointer to just about anything? For instance a pointer to a two-dimensional array? Are those FLAC-WAV and WAV-FLAC examples the only examples available? What would be the best approach to read a FLAC file to an array of some kind? Passing a pointer to the array as ?client_data?? I'd like to use a two-dimensional array, but
2013 Jul 02
0
About Decode Streaming
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, decoderWriteCallback, NULL, decoderErrorCallback, input_pile_array);* * * Then, callbacks * * /// \brief read callback function of decoder FLAC__StreamDecoderReadStatus decoderReadCallback(const FLAC__StreamDecoder *decoder, FLAC__byte buffe...
2013 Jul 02
2
About Decode Streaming
...ECODER_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, decoderWriteCallback, NULL, decoderErrorCallback, > input_pile_array);* > * > * > Then, callbacks > * > * > /// \brief read callback function of decoder > FLAC__StreamDecoderReadStatus decoderReadCallback(const &gt...
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 Feb 10
0
Newbie question about those callbacks
...t_data) Yes, client_data can point at anything. You the callee are responsible to cast your pointer_to_anything to and from 'void*' > For instance a pointer to a two-dimensional array? Yes. They can even be NULL. Whatever pointer you pass as the client_data parameter in the finction FLAC__stream_decoder_init_stream () will be passed back to you in the callbacks client_data. > Are those FLAC-WAV and WAV-FLAC examples the only examples available? There are examples in the examples/ directory of the FLAC source code tarball. They are in Git here: https://git.xiph.org/?p=flac.git;a=tree;f=examples/c;h=d...
2013 May 07
1
Bug fix and compatibility patches for 1.3.0pre4
...(e.g. FLAC__stream_decoder_init_FILE). There's absolutely no guarantee that a developer is using the same C library that was used to compile libFLAC. 3) For Windows C runtime libraries that are missing 64-bit seek/tell, we can fall back to ftell and fseek and encourage those developers to use FLAC__stream_decoder_init_stream instead. This is also the correct way for developers to use platform-specific I/O (CreateFile, etc). -Ben Allison > Janne Hyv?rinen wrote: >> Oldest Visual Studio supported by FLAC 1.3 is Visual Studio 2005. FLAC >> is also configured to be compiled with static linking, so no ex...
2013 Jul 01
0
About Decode Streaming
...I can stream without FLAC library but I have to do with any codec > library because our network bandwidth is low so I dont want > overhead problem and latency. > > For streaming, FLAC suggests streaming functions such as > FLAC__stream_encoder_init_stream, > FLAC__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 May 06
3
Bug fix and compatibility patches for 1.3.0pre4
On 6.5.2013 0:43, Timothy B. Terriberry wrote: > Janne Hyv?rinen wrote: >> You people do realize these hacks would only be required for 10+ year >> old obsolete compilers? > No, they're required for easy distribution on 12 year old OSes (which, > last I saw, make up almost 40% of Firefox's desktop userbase, and likely > will continue to for some time). > What