pcmToMp3 method

bool pcmToMp3(
  1. Pointer<UnsignedChar> pcmData,
  2. int pcmSize,
  3. int sampleRate,
  4. Pointer<Pointer<UnsignedChar>> mp3Data,
  5. Pointer<UnsignedLong> mp3Size,
)

Implementation

bool pcmToMp3(
  ffi.Pointer<ffi.UnsignedChar> pcmData,
  int pcmSize,
  int sampleRate,
  ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> mp3Data,
  ffi.Pointer<ffi.UnsignedLong> mp3Size,
) {
  return _pcmToMp3(
    pcmData,
    pcmSize,
    sampleRate,
    mp3Data,
    mp3Size,
  );
}