Discord Player

PCMTransformer

No description provided

PCMTransformer extends Transform

new PCMTransformer(options);
ParameterTypeOptional
optionsPCMTransformerOptions❌

Properties

public bits: any

public bytes: any

public disabled: any

public extremum: any

public sampleRate: any

public type: any

Methods

public _readInt(buffer, index): number

ParameterTypeOptional
bufferBuffer❌
indexnumber❌

public _writeInt(buffer, int, index): number

ParameterTypeOptional
bufferBuffer❌
intnumber❌
indexnumber❌

public clamp(val, max, min): number

ParameterTypeOptional
valnumber❌
maxnumber❌
minnumber❌

public disable(): void

public enable(): void

public onUpdate(): void

public setSampleRate(rate): void

ParameterTypeOptional
ratenumber❌

public toggle(): void