()
| 235 | } |
| 236 | |
| 237 | func (d *Decoder) Close() { |
| 238 | if d.st != 0 { |
| 239 | cDecoderDestroy(d.st) |
| 240 | d.st = 0 |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | // Init eagerly loads the opus libraries, returning any error. |
| 245 | // Calling this is optional; the libraries are loaded lazily on first use. |