mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add resolved_as_cstring()
This commit is contained in:
@@ -516,6 +516,11 @@ FLAC_API FLAC__StreamDecoderState FLAC__stream_decoder_get_state(const FLAC__Str
|
||||
return decoder->protected_->state;
|
||||
}
|
||||
|
||||
FLAC_API const char *FLAC__stream_decoder_get_resolved_state_string(const FLAC__StreamDecoder *decoder)
|
||||
{
|
||||
return FLAC__StreamDecoderStateString[decoder->protected_->state];
|
||||
}
|
||||
|
||||
FLAC_API unsigned FLAC__stream_decoder_get_channels(const FLAC__StreamDecoder *decoder)
|
||||
{
|
||||
FLAC__ASSERT(0 != decoder);
|
||||
|
||||
Reference in New Issue
Block a user