diff options
author | sezero <sezero@users.sourceforge.net> | 2019-10-09 10:39:11 +0300 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2019-10-10 06:09:21 +1100 |
commit | 19a0e99ac3ac5f1fc24d66612668a277ceba8195 (patch) | |
tree | 759341b6dbf2ba93f78e8f14fa8768aa86a52b4a /include/FLAC/stream_decoder.h | |
parent | 2e7931c27eb15e387da440a37f12437e35b22dd4 (diff) | |
download | flac-19a0e99ac3ac5f1fc24d66612668a277ceba8195.tar.gz |
move the new public get_decoder_client_data function to public header.
Diffstat (limited to 'include/FLAC/stream_decoder.h')
-rw-r--r-- | include/FLAC/stream_decoder.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/FLAC/stream_decoder.h b/include/FLAC/stream_decoder.h index 57215c5e..50ebfa80 100644 --- a/include/FLAC/stream_decoder.h +++ b/include/FLAC/stream_decoder.h @@ -1550,6 +1550,16 @@ 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 |