search for: tellcallback

Displaying 1 result from an estimated 1 matches for "tellcallback".

Did you mean: tell_callback
2006 Dec 12
1
Setting compression level
...erate); unsigned int level; if (formatdatalen>0) level = *(char*)(formatdata); else level = 7; if (level>=0 && level<=8) if (!FLAC__stream_encoder_set_compression_level( FE, level)) { return -1; } if (FLAC__stream_encoder_init_stream( FE, WriteCallback, SeekCallback, TellCallback, NULL, destination) != FLAC__STREAM_ENCODER_OK) { FLAC__stream_encoder_delete(FE); return -1; } and sending stream to encode .... I can set any compression level (default i have 7), but final FLAC file always have same size as source WAV file. FLAC is playable, but not compressed. Is there...