search for: total_frames_estimate

Displaying 2 results from an estimated 2 matches for "total_frames_estimate".

2013 Aug 20
0
sf bug 256 - Virtual functions in destructor
...00005: Access violation reading location 0x00000000. Call stack 00000000() Test.exe!FLAC::Encoder::File::progress_callback_(const FLAC__StreamEncoder * encoder=0x003571f8, unsigned __int64 bytes_written=2156194, unsigned __int64 samples_written=845544, unsigned int frames_written=734, unsigned int total_frames_estimate=0, void * client_data=0x0012fe1c) Line 507 + 0x2a bytes C++ Test.exe!file_write_callback_(const FLAC__StreamEncoder * encoder=0x003571f8, const unsigned char * buffer=0x0047daa8, unsigned int bytes=2804, unsigned int samples=1128, unsigned int current_frame=733, void * client_data=0x0012fe1c) Line...
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
...AC_tagGenre[] = {"Audio Track"}; > static const unsigned char defFileName[16] = {"encAUDIO.flac"}; > > static void progress_callback(const FLAC__StreamEncoder *encoder, > FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned > frames_written, unsigned total_frames_estimate, void *client_data); > > #define READSIZE 1024 > > static unsigned total_samples = 0; /* can use a 32-bit number due to WAVE > size limitations */ > static FLAC__byte buffer[READSIZE/*samples*/ * 2/*bytes_per_sample*/ * > 2/*channels*/]; /* we read the WAVE data into here */ &g...