mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
revamp encoder/decoder interface to use set methods instead on args to init
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "FLAC/file_decoder.h"
|
||||
|
||||
typedef struct FLAC__FileDecoderProtected {
|
||||
bool check_md5; /* if true, generate MD5 signature of decoded data and compare against signature in the Encoding metadata block */
|
||||
bool md5_checking; /* if true, generate MD5 signature of decoded data and compare against signature in the Encoding metadata block */
|
||||
FLAC__FileDecoderState state;
|
||||
} FLAC__FileDecoderProtected;
|
||||
|
||||
|
||||
@@ -34,6 +34,6 @@ typedef struct FLAC__StreamDecoderProtected {
|
||||
/*
|
||||
* return the number of input bytes consumed
|
||||
*/
|
||||
unsigned FLAC__stream_decoder_input_bytes_unconsumed(const FLAC__StreamDecoder *decoder);
|
||||
unsigned FLAC__stream_decoder_get_input_bytes_unconsumed(const FLAC__StreamDecoder *decoder);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -40,6 +40,8 @@ typedef struct FLAC__StreamEncoderProtected {
|
||||
unsigned rice_parameter_search_dist;
|
||||
uint64 total_samples_estimate;
|
||||
const FLAC__StreamMetaData_SeekTable *seek_table;
|
||||
unsigned padding;
|
||||
bool last_metadata_is_last;
|
||||
} FLAC__StreamEncoderProtected;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user