Skip to content

BikAudioTrack

Defined in: bik-decoder.ts:234

Decoded contents of a single “packet” of data for an audio track in a BIK video.

In each packet, audio samples are stored in one or more blocks, each block containing one or more stereo-interleaved channels (so the number of stereo-interleaved channels in a stereo audio block will be one, even though it should be played as two separate channels).

blocks: Float32Array<ArrayBufferLike>[][]

Defined in: bik-decoder.ts:254

Actual audio data for the frame (PCM, floating-point, interleaved stereo channels). Indexed by block number and then by (non-stereo) channel.


header: BikAudioTrackHeader

Defined in: bik-decoder.ts:238

Header associated with the audio track.


numSamples: number

Defined in: bik-decoder.ts:248

Total number of samples in the packet.


size: number

Defined in: bik-decoder.ts:243

Total size (in bytes) of the samples in the packet.