csoundSetTable function

void csoundSetTable(
  1. Pointer<Void> csound,
  2. List<double> value,
  3. int table
)

Implementation

void csoundSetTable(Pointer<Void> csound, List<double> value, int table) {
  Pointer<Pointer<Double>> ptr = Pointer.fromAddress(nullptr.address);
  int res = csoundGetTableC(csound, ptr, table);
  for (int i = 0; i < res; i++) ptr[0][i] = value[i];
}