Haha-Yes/node_modules/prism-media/typings/transformers/PCMVolume.d.ts

20 lines
697 B
TypeScript
Raw Normal View History

2018-09-09 21:20:36 +02:00
import { Transform } from 'stream';
export interface VolumeOptions {}
export class VolumeTransformer {
public volume: number;
constructor(options: VolumeOptions, spec?: { bits: number, volume: number });
public setVolume(volume: number): void;
public setVolumeDecibels(db: number): void;
public setVolumeLogarithmic(value: number): void;
public readonly volumeDecibels: number;
public readonly volumeLogarithmic: number;
}
export class VolumeTransformer16LE extends VolumeTransformer {}
export class VolumeTransformer16BE extends VolumeTransformer {}
export class VolumeTransformer32LE extends VolumeTransformer {}
export class VolumeTransformer32BE extends VolumeTransformer {}