search for: absolute_byte_offset

Displaying 4 results from an estimated 4 matches for "absolute_byte_offset".

2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was either solved off-list or abandoned. (http://lists.xiph.org/pipermail/flac/2005-August/000468.html) The problem is with using the C++ encoder classes, particularly the FLAC::Encoder::File:set_metadata function. JC said that the developers version of how to add a simple metadata block looked right, but it did not work for
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
...if ( FFile->Write((unsigned char*)buffer, 1, bytes) != bytes ) { return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR; } return FLAC__STREAM_ENCODER_WRITE_STATUS_OK; } virtual FLAC__StreamEncoderSeekStatus seek_callback (FLAC__uint64 absolute_byte_offset) { if (FFile->Seek(absolute_byte_offset + FFlacOffset, SEEK_SET) < 0 ) { return FLAC__STREAM_ENCODER_SEEK_STATUS_ERROR; } return FLAC__STREAM_ENCODER_SEEK_STATUS_OK; } virtual FLAC__StreamEncoderTellStatus tell_call...
2004 Sep 10
2
flac_read callback not called in Windows?
...read start ..."); *bytes = mame_fread(flacFile, buffer, *bytes); fprintf(stderr, "flac_read end %d\n ", *bytes); return FLAC__SEEKABLE_STREAM_DECODER_READ_STATUS_OK; } static FLAC__SeekableStreamDecoderSeekStatus flac_seek(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data) { mame_fseek(flacFile, absolute_byte_offset, SEEK_SET); return FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_OK; } static FLAC__SeekableStreamDecoderTellStatus flac_tell(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data) { *absolu...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...nary_stdin_(void); static FLAC__SeekableStreamDecoderReadStatus read_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data); static FLAC__SeekableStreamDecoderSeekStatus seek_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data); static FLAC__SeekableStreamDecoderTellStatus tell_callback_(const FLAC__SeekableStreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data); @@ -101,7 +101,7 @@ FLAC_API const char * const FLAC__FileDe * **************************************************...