API reference
Preparing search index…

SoundStreamChunk

samples aliases a reusable native slot, valid until the callback settles.

interface SoundStreamChunk {
    sampleCount: number;
    samples: Int16Array;
}
Source & inheritance
Member directory2

Properties

Properties

sampleCount: number

Total interleaved samples filled this time; must be a multiple of the channel count and no greater than samples.length.

Source & inheritance
samples: Int16Array

Reusable native interleaved 16-bit PCM write area, valid until this callback settles.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0