/ fm / liveswitch / WssRingBuffer
Class: WssRingBuffer
fm.liveswitch.WssRingBuffer
Table of contents
Constructors
Methods
Constructors
constructor
+ new WssRingBuffer(bufferLength
: number): WssRingBuffer
Parameters:
Name | Type |
---|---|
bufferLength |
number |
Returns: WssRingBuffer
Defined in: Generated/TypeScript/fm.liveswitch/WssRingBuffer.ts:12
Methods
clear
▸ clear(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRingBuffer.ts:28
dataLength
▸ dataLength(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/WssRingBuffer.ts:24
pull
▸ pull(length
: number): Float32Array
Parameters:
Name | Type |
---|---|
length |
number |
Returns: Float32Array
Defined in: Generated/TypeScript/fm.liveswitch/WssRingBuffer.ts:49
push
▸ push(data
: Float32Array): void
Parameters:
Name | Type |
---|---|
data |
Float32Array |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRingBuffer.ts:34