Method

HsCoreplay_samples

Declaration [src]

void
hs_core_play_samples (
  HsCore* self,
  gint16* samples,
  int n_samples
)

Description [src]

Plays provided audio samples.

The samples must be 16 bit, signed, interleaved.

Parameters

samples

Type: An array of gint16

The sample data.

The length of the array is specified in the n_samples argument.
The data is owned by the caller of the method.
n_samples

Type: int

Length of samples.