Displaying 4 results from an estimated 4 matches for "frames_written".
2014 Jun 19
3
Problems in flac-website Git files.
1) changelog.html
"Add ability to handle utf8 filenames on Windows (large set of patches from Janne Hyv?rinen)"
AFAIK Windows internally uses UTF-16LE, not UTF-8. IMHO it's better to use
a general word 'Unicode' instead of 'utf8'.
2) documentation_bugs.html
"The following are major known bugs in the current (1.2.1) release:"
1.2.1 is not the current
2013 Aug 20
0
sf bug 256 - Virtual functions in destructor
...at 0x00000000 in Test.exe: 0xC0000005: 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=7...
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
...ic const unsigned char FLAC_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 re...
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...minfo.data.stream_info.max_framesize);
}
return true;
@@ -2499,7 +2490,7 @@ FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const
* when the encoder goes back to write metadata, 'current_frame'
* will drop back to 0.
*/
- encoder->private_->frames_written = max(encoder->private_->frames_written, encoder->private_->current_frame_number+1);
+ encoder->private_->frames_written = flac_max(encoder->private_->frames_written, encoder->private_->current_frame_number+1);
}
else
encoder->protected_->state = FLAC__ST...