mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor changes in anticipation of release
This commit is contained in:
@@ -68,6 +68,7 @@ typedef struct {
|
||||
* (*metadata_callback)() (DEFAULT: NULL )
|
||||
* (*error_callback)() (DEFAULT: NULL )
|
||||
* void* client_data (DEFAULT: NULL ) passed back through the callbacks
|
||||
* metadata_respond/ignore By default, only the STREAMINFO block is returned via metadata_callback()
|
||||
*/
|
||||
FLAC__FileDecoder *FLAC__file_decoder_new();
|
||||
void FLAC__file_decoder_delete(FLAC__FileDecoder *);
|
||||
@@ -94,8 +95,6 @@ void FLAC__file_decoder_delete(FLAC__FileDecoder *);
|
||||
* will take on the defaults from the constructor. NOTE that
|
||||
* FLAC__file_decoder_flush() or FLAC__file_decoder_reset() do
|
||||
* NOT reset the values to the constructor defaults.
|
||||
@@@@ update so that only _set_ methods that need to return FLAC__bool, else void; update documentation.html also
|
||||
@@@@ update defaults above and in documentation.html about the metadata_respond/ignore defaults
|
||||
*/
|
||||
FLAC__bool FLAC__file_decoder_set_md5_checking(FLAC__FileDecoder *decoder, FLAC__bool value);
|
||||
FLAC__bool FLAC__file_decoder_set_filename(FLAC__FileDecoder *decoder, const char *value); /* 'value' may not be 0; use "-" for stdin */
|
||||
|
||||
@@ -527,18 +527,10 @@ FLAC__bool FLAC__metadata_object_is_equal(const FLAC__StreamMetadata *block1, co
|
||||
*/
|
||||
FLAC__bool FLAC__metadata_object_application_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, unsigned length, FLAC__bool copy);
|
||||
|
||||
/******************************************************************
|
||||
* FLAC__StreamMetadata_SeekPoint
|
||||
* ----------------------------------------------------------------
|
||||
* @@@@ You can
|
||||
* use the _resize function to alter it. If the size shrinks,
|
||||
* elements will truncated; if it grows, new placeholder points
|
||||
* will be added to the end.
|
||||
*/
|
||||
|
||||
/******************************************************************
|
||||
* FLAC__StreamMetadata_SeekTable
|
||||
*/
|
||||
/* If the size shrinks, elements will truncated; if it grows, new placeholder points will be added to the end. */
|
||||
FLAC__bool FLAC__metadata_object_seektable_resize_points(FLAC__StreamMetadata *object, unsigned new_num_points);
|
||||
void FLAC__metadata_object_seektable_set_point(FLAC__StreamMetadata *object, unsigned point_num, FLAC__StreamMetadata_SeekPoint point);
|
||||
FLAC__bool FLAC__metadata_object_seektable_insert_point(FLAC__StreamMetadata *object, unsigned point_num, FLAC__StreamMetadata_SeekPoint point);
|
||||
|
||||
@@ -99,6 +99,7 @@ typedef struct {
|
||||
* (*metadata_callback)() (DEFAULT: NULL )
|
||||
* (*error_callback)() (DEFAULT: NULL )
|
||||
* void* client_data (DEFAULT: NULL ) passed back through the callbacks
|
||||
* metadata_respond/ignore By default, only the STREAMINFO block is returned via metadata_callback()
|
||||
*/
|
||||
FLAC__SeekableStreamDecoder *FLAC__seekable_stream_decoder_new();
|
||||
void FLAC__seekable_stream_decoder_delete(FLAC__SeekableStreamDecoder *);
|
||||
@@ -125,8 +126,6 @@ void FLAC__seekable_stream_decoder_delete(FLAC__SeekableStreamDecoder *);
|
||||
* will take on the defaults from the constructor. NOTE that
|
||||
* FLAC__seekable_stream_decoder_flush() or FLAC__seekable_stream_decoder_reset()
|
||||
* do NOT reset the values to the constructor defaults.
|
||||
@@@@ update so that only _set_ methods that need to return FLAC__bool, else void; update documentation.html also
|
||||
@@@@ update defaults above and in documentation.html about the metadata_respond/ignore defaults
|
||||
*/
|
||||
FLAC__bool FLAC__seekable_stream_decoder_set_md5_checking(FLAC__SeekableStreamDecoder *decoder, FLAC__bool value);
|
||||
FLAC__bool FLAC__seekable_stream_decoder_set_read_callback(FLAC__SeekableStreamDecoder *decoder, FLAC__SeekableStreamDecoderReadStatus (*value)(const FLAC__SeekableStreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data));
|
||||
|
||||
@@ -91,6 +91,7 @@ typedef struct {
|
||||
* (*metadata_callback)() (DEFAULT: NULL )
|
||||
* (*error_callback)() (DEFAULT: NULL )
|
||||
* void* client_data (DEFAULT: NULL ) passed back through the callbacks
|
||||
* metadata_respond/ignore By default, only the STREAMINFO block is returned via metadata_callback()
|
||||
*/
|
||||
FLAC__StreamDecoder *FLAC__stream_decoder_new();
|
||||
void FLAC__stream_decoder_delete(FLAC__StreamDecoder *);
|
||||
@@ -117,8 +118,6 @@ void FLAC__stream_decoder_delete(FLAC__StreamDecoder *);
|
||||
* will take on the defaults from the constructor. NOTE that
|
||||
* FLAC__stream_decoder_flush() or FLAC__stream_decoder_reset() do
|
||||
* NOT reset the values to the constructor defaults.
|
||||
@@@@ update so that only _set_ methods that need to return FLAC__bool, else void; update documentation.html also
|
||||
@@@@ update defaults above and in documentation.html about the metadata_respond/ignore defaults
|
||||
*/
|
||||
FLAC__bool FLAC__stream_decoder_set_read_callback(FLAC__StreamDecoder *decoder, FLAC__StreamDecoderReadStatus (*value)(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data));
|
||||
FLAC__bool FLAC__stream_decoder_set_write_callback(FLAC__StreamDecoder *decoder, FLAC__StreamDecoderWriteStatus (*value)(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data));
|
||||
|
||||
@@ -128,7 +128,6 @@ void FLAC__stream_encoder_delete(FLAC__StreamEncoder *encoder);
|
||||
* will take on the defaults from the constructor. NOTE that
|
||||
* FLAC__stream_encoder_finish() does NOT reset the values to the
|
||||
* constructor defaults.
|
||||
@@@@ update so that only _set_ methods that need to return FLAC__bool, else void
|
||||
*/
|
||||
FLAC__bool FLAC__stream_encoder_set_streamable_subset(FLAC__StreamEncoder *encoder, FLAC__bool value);
|
||||
FLAC__bool FLAC__stream_encoder_set_do_mid_side_stereo(FLAC__StreamEncoder *encoder, FLAC__bool value);
|
||||
|
||||
Reference in New Issue
Block a user