initOpus function
void
initOpus(
- DynamicLibrary opusLib
Must be called to initalize this library.
On platforms where dart:ffi is available, the dart:ffi DynamicLibrary opusLib
must point to a platform native libopus library with the appropriate version.
On platforms where there is no dart:ffi, most notabley on the web, opusLib
should be a web_ffi DynamicLibrary. The web_ffi Memory object should
have been initalized before calling this function. This function registers all
Opaque types for you.
See the README for more information about loading and versioning.
Implementation
void initOpus(DynamicLibrary opusLib) {
opus = createApiObject(opusLib);
}