add a samples_written field to the progress callback

This commit is contained in:
Josh Coalson
2002-08-08 22:55:45 +00:00
parent bd08990c8d
commit 2ea0839abb
7 changed files with 17 additions and 14 deletions

View File

@@ -778,12 +778,12 @@ public:
~FileEncoder() { }
// from FLAC::Encoder::File
void progress_callback(FLAC__uint64 bytes_written, unsigned frames_written, unsigned total_frames_estimate);
void progress_callback(FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned frames_written, unsigned total_frames_estimate);
bool die(const char *msg = 0) const;
};
void FileEncoder::progress_callback(FLAC__uint64, unsigned, unsigned)
void FileEncoder::progress_callback(FLAC__uint64, FLAC__uint64, unsigned, unsigned)
{
}