diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-05-05 20:47:47 +0200 |
---|---|---|
committer | Martijn van Beurden <mvanb1@gmail.com> | 2022-05-09 17:29:46 +0200 |
commit | 8b148b257e8d3594144861adfb13aba24cba7dc1 (patch) | |
tree | c040761df2333d773ad140cba562e433e3315afc /include | |
parent | b433bbc5cfb4b8169b6a1864e5df3ba16f787665 (diff) | |
download | flac-8b148b257e8d3594144861adfb13aba24cba7dc1.tar.gz |
Rename FLAC__get_decoder_client_data to ...
... FLAC__stream_decoder_get_client_data. Also the function
definition was moved to its 'siblings'. This way, the function
fits better in the API with respect to naming.
Diffstat (limited to 'include')
-rw-r--r-- | include/FLAC/stream_decoder.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/FLAC/stream_decoder.h b/include/FLAC/stream_decoder.h index 129cb4a6..67be1a24 100644 --- a/include/FLAC/stream_decoder.h +++ b/include/FLAC/stream_decoder.h @@ -1013,6 +1013,16 @@ FLAC_API uint32_t FLAC__stream_decoder_get_blocksize(const FLAC__StreamDecoder * */ FLAC_API FLAC__bool FLAC__stream_decoder_get_decode_position(const FLAC__StreamDecoder *decoder, FLAC__uint64 *position); +/** Return client_data from decoder. + * The data pointed to by the pointer should not be modified. + * + * \param decoder A decoder instance. + * \retval const void * + * The callee's client data set through FLAC__stream_decoder_init_*(). + * Do not modify the contents. + */ +FLAC_API const void *FLAC__stream_decoder_get_client_data(FLAC__StreamDecoder *decoder); + /** Initialize the decoder instance to decode native FLAC streams. * * This flavor of initialization sets up the decoder to decode from a @@ -1557,16 +1567,6 @@ FLAC_API FLAC__bool FLAC__stream_decoder_skip_single_frame(FLAC__StreamDecoder * */ FLAC_API FLAC__bool FLAC__stream_decoder_seek_absolute(FLAC__StreamDecoder *decoder, FLAC__uint64 sample); -/** Return client_data from decoder. - * The data pointed to by the pointer should not be modified. - * - * \param decoder A decoder instance. - * \retval const void * - * The callee's client data set through FLAC__stream_decoder_init_*(). - * Do not modify the contents. - */ -FLAC_API const void *FLAC__get_decoder_client_data(FLAC__StreamDecoder *decoder); - /* \} */ #ifdef __cplusplus |