FunctionsAndGlobals constructor

FunctionsAndGlobals(
  1. DynamicLibrary _dynamicLibrary
)

Implementation

FunctionsAndGlobals(ffi.DynamicLibrary _dynamicLibrary)
    : _opus_repacketizer_get_size = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_get_size_C, _opus_repacketizer_get_size_Dart>(
        'opus_repacketizer_get_size',
      ),
      _opus_repacketizer_init = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_init_C, _opus_repacketizer_init_Dart>(
        'opus_repacketizer_init',
      ),
      _opus_repacketizer_create = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_create_C, _opus_repacketizer_create_Dart>(
        'opus_repacketizer_create',
      ),
      _opus_repacketizer_destroy = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_destroy_C, _opus_repacketizer_destroy_Dart>(
        'opus_repacketizer_destroy',
      ),
      _opus_repacketizer_cat = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_cat_C, _opus_repacketizer_cat_Dart>(
        'opus_repacketizer_cat',
      ),
      _opus_repacketizer_out_range = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_out_range_C, _opus_repacketizer_out_range_Dart>(
        'opus_repacketizer_out_range',
      ),
      _opus_repacketizer_get_nb_frames = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_get_nb_frames_C,
          _opus_repacketizer_get_nb_frames_Dart>(
        'opus_repacketizer_get_nb_frames',
      ),
      _opus_repacketizer_out = _dynamicLibrary.lookupFunction<
          _opus_repacketizer_out_C, _opus_repacketizer_out_Dart>(
        'opus_repacketizer_out',
      ),
      _opus_packet_pad = _dynamicLibrary
          .lookupFunction<_opus_packet_pad_C, _opus_packet_pad_Dart>(
        'opus_packet_pad',
      ),
      _opus_packet_unpad = _dynamicLibrary
          .lookupFunction<_opus_packet_unpad_C, _opus_packet_unpad_Dart>(
        'opus_packet_unpad',
      ),
      _opus_multistream_packet_pad = _dynamicLibrary.lookupFunction<
          _opus_multistream_packet_pad_C, _opus_multistream_packet_pad_Dart>(
        'opus_multistream_packet_pad',
      ),
      _opus_multistream_packet_unpad = _dynamicLibrary.lookupFunction<
          _opus_multistream_packet_unpad_C,
          _opus_multistream_packet_unpad_Dart>(
        'opus_multistream_packet_unpad',
      );