fullParallel method

void fullParallel(
  1. whisper_full_params wparams,
  2. List<double> pcmf32List,
  3. int nProcessors
)

Implementation

void fullParallel(
    whisper_full_params wparams, List<double> pcmf32List, int nProcessors) {
  Pointer<Float> pcmf32 = allocateFloatPointer(pcmf32List);
  if (WhisperLibrary.binding.whisper_full_parallel(
          ctx, wparams, pcmf32, pcmf32List.length, nProcessors) !=
      0) {
    throw Exception("failed to process audio");
  }
}