silkToMp3 method

bool silkToMp3(
  1. Pointer<UnsignedChar> silkData,
  2. int dataLen,
  3. int sampleRate,
  4. Pointer<Pointer<UnsignedChar>> mp3Data,
  5. Pointer<UnsignedLong> mp3Size,
)

Implementation

bool silkToMp3(
  ffi.Pointer<ffi.UnsignedChar> silkData,
  int dataLen,
  int sampleRate,
  ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> mp3Data,
  ffi.Pointer<ffi.UnsignedLong> mp3Size,
) {
  return _silkToMp3(
    silkData,
    dataLen,
    sampleRate,
    mp3Data,
    mp3Size,
  );
}