MonoStereoTransformer
No description provided
MonoStereoTransformer extends PCMTransformer
Parameter | Type | Optional |
---|---|---|
options | MonoStereoTransformerOptions | ✅ |
Properties
public bits: any
public bytes: any
public disabled: any
public extremum: any
public sampleRate: any
public strategy: any
public type: any
Methods
public _readInt(buffer, index): number
public _transform(chunk, encoding, callback): void
Parameter | Type | Optional |
---|---|---|
chunk | Buffer | ❌ |
encoding | BufferEncoding | ❌ |
callback | TransformCallback | ❌ |
public _writeInt(buffer, int, index): number
public clamp(val, max, min): number
public disable(): void
public enable(): void
public onUpdate(): void
public setSampleRate(rate): void
Parameter | Type | Optional |
---|---|---|
rate | number | ❌ |
public setStrategy(strategy): void
Parameter | Type | Optional |
---|---|---|
strategy | MSTStrategy | ❌ |