diff options
Diffstat (limited to 'include/FLAC')
-rw-r--r-- | include/FLAC/all.h | 6 | ||||
-rw-r--r-- | include/FLAC/stream_encoder.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/FLAC/all.h b/include/FLAC/all.h index 65a75484..4b493fd3 100644 --- a/include/FLAC/all.h +++ b/include/FLAC/all.h @@ -313,9 +313,9 @@ * FLAC__metadata_object_cuesheet_calculate_cddb_id() and * FLAC__metadata_get_cuesheet(). * - * The \a bytes parameter to FLAC__StreamDecoderReadCallback and - * FLAC__StreamEncoderReadCallback is now \c size_t instead of - * \c unsigned. + * The \a bytes parameter to FLAC__StreamDecoderReadCallback, + * FLAC__StreamEncoderReadCallback, and FLAC__StreamEncoderWriteCallback + * is now \c size_t instead of \c unsigned. */ /** \defgroup flac FLAC C API diff --git a/include/FLAC/stream_encoder.h b/include/FLAC/stream_encoder.h index 3851fc34..7cddc067 100644 --- a/include/FLAC/stream_encoder.h +++ b/include/FLAC/stream_encoder.h @@ -522,7 +522,7 @@ typedef FLAC__StreamEncoderReadStatus (*FLAC__StreamEncoderReadCallback)(const F * \retval FLAC__StreamEncoderWriteStatus * The callee's return status. */ -typedef FLAC__StreamEncoderWriteStatus (*FLAC__StreamEncoderWriteCallback)(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data); +typedef FLAC__StreamEncoderWriteStatus (*FLAC__StreamEncoderWriteCallback)(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); /** Signature for the seek callback. * |