FunctionsAndGlobals constructor
FunctionsAndGlobals(
- DynamicLibrary _dynamicLibrary
Implementation
FunctionsAndGlobals(ffi.DynamicLibrary _dynamicLibrary)
: _opus_encoder_get_size = _dynamicLibrary.lookupFunction<
_opus_encoder_get_size_C, _opus_encoder_get_size_Dart>(
'opus_encoder_get_size',
),
_opus_encoder_create = _dynamicLibrary
.lookupFunction<_opus_encoder_create_C, _opus_encoder_create_Dart>(
'opus_encoder_create',
),
_opus_encoder_init = _dynamicLibrary
.lookupFunction<_opus_encoder_init_C, _opus_encoder_init_Dart>(
'opus_encoder_init',
),
_opus_encode =
_dynamicLibrary.lookupFunction<_opus_encode_C, _opus_encode_Dart>(
'opus_encode',
),
_opus_encode_float = _dynamicLibrary
.lookupFunction<_opus_encode_float_C, _opus_encode_float_Dart>(
'opus_encode_float',
),
_opus_encoder_destroy = _dynamicLibrary.lookupFunction<
_opus_encoder_destroy_C, _opus_encoder_destroy_Dart>(
'opus_encoder_destroy',
);