Displaying 1 result from an estimated 1 matches for "fflacoffset".
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
...for CDDA
and the encoder child class from FLAC::Encoder::Stream
/*****************************************************************************/
class TMyFlacEncoder: public FLAC::Encoder::Stream {
protected:
TMyFileAccess *FFile; // the file we are writing to
long long FFlacOffset;
virtual FLAC__StreamEncoderReadStatus read_callback (FLAC__byte
buffer[], size_t *bytes)
{
if(*bytes > 0) {
*bytes = FFile->Read(buffer, sizeof(FLAC__byte), *bytes);
if(FFile->Error())
return FLAC__STREAM_EN...