search for: flac__stream_encoder_metadata_ok

Displaying 1 result from an estimated 1 matches for "flac__stream_encoder_metadata_ok".

2004 Sep 10
2
stream_encoder metadata callback
...without having to know the specifics of the header format (or worry about endianness). How exactly to achieve this might take some thought, but what about this idea: 1. The correct way to respond to the metadata callback: i. If this is a seekable stream, seek to the beginning and return FLAC__STREAM_ENCODER_METADATA_OK (or something). ii. If this is not a seekable stream, return FLAC__STREAM_ENCODER_METADATA_NOT_SEEKABLE 2. If the callback indicated that the stream is seekable, FLAC calls the write callback again, writing 'fLaC' and the STREAMINFO block (and any seek tables as well). What...