destroy method
Destroys this decoder by releasing all native resources. After this, it is no longer possible to decode using this decoder, so any further method call will throw an OpusDestroyedError.
Implementation
@override
void destroy() {
if (!_destroyed) {
_destroyed = true;
opus.decoder.opus_decoder_destroy(_opusDecoder);
opus.allocator.free(_softClipBuffer);
}
}