search for: flac__stream_encoder_init_file

Displaying 8 results from an estimated 8 matches for "flac__stream_encoder_init_file".

2010 Feb 08
0
Use FLAC__stream_encoder_init_FILE instead of FLAC__stream_encoder_init_file
...( encoder, 44100 ); > > FLAC__stream_encoder_set_verify( encoder, FALSE ); > > FLAC__stream_encoder_set_blocksize( encoder, 0 ); > > FLAC__stream_encoder_set_compression_level( encoder, 5); > > >> >> FLAC__StreamEncoderInitStatus InitStatus; > > InitStatus=FLAC__stream_encoder_init_file( encoder, FullFileName, NULL, >> NULL ); > > if(FLAC__STREAM_ENCODER_INIT_STATUS_OK != InitStatus ) > > { > > printf(_T("Error Code: %d"),(int)InitStatus); > > } > > The code worked for years, recently I made a unicode version of the ap...
2013 Jul 01
2
About Decode Streaming
...oding 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 data transfer over UDP or TCP sockets of >> boost library. >> >> I send 1 packet which contains 1 second "raw" audio data and header >> information as unsigned char ar...
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 01
0
About Decode Streaming
...eption 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 > functions). > Streaming which I used is audio data transfer over UDP or TCP > sockets of boost library. > > I send 1 packet which contains 1 second "raw" audio data and > header information as unsigned char array....
2013 Jul 02
0
About Decode Streaming
...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 data transfer over UDP or TCP sockets of >>> boost library. >>> >>> I send 1 packet which contains 1 second "raw" audio data and header >>> informa...
2015 Dec 10
5
Windows file buffering
Erik de Castro Lopo wrote: > lvqcl, > > Would you be able to have alook at this one? I think its > Windows related: > > https://sourceforge.net/p/flac/feature-requests/114/ > The relevant changes are <http://git.xiph.org/?p=flac.git;a=commitdiff;h=6a6207b52a86b1d7980a5233e297c0fc948bed7d> and
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
..._object_vorbiscomment_append_comment(metadata[1], > entry, /*copy=*/true); > #endif > if (!FLAC__stream_encoder_set_metadata(encoder, metadata, 2)) > return FLAC__STREAM_ENCODER_CLIENT_ERROR; > > /* initialize encoder */ > if(ok) { > init_status = FLAC__stream_encoder_init_file(encoder, argv[2], > progress_callback, /*client_data=*/NULL); > if(init_status != FLAC__STREAM_ENCODER_INIT_STATUS_OK) { > fprintf(stderr, "ERROR: initializing encoder: %s\n", > FLAC__StreamEncoderInitStatusString[init_status]); > ok = false;...
2013 Jul 02
2
About Decode Streaming
...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 data transfer over UDP or TCP sockets >>>> of boost library. >>>> >>>> I send 1 packet which contains 1 second "raw" audio data and header...