AudioDecoder.setDrainable

Configures decoder drain handling. If drainable, subclass might be handed a NULL buffer to have it return any leftover decoded data. Otherwise, it is not considered so capable and will only ever be passed real data.

MT safe.

class AudioDecoder
void
setDrainable
(
bool enabled
)

Parameters

enabled bool

new state