import { EventInterface } from 'microevent.ts'; import AudioOutputBuffer from '../../tools/AudioOutputBuffer'; interface PCMAudioOutputInterface { getSampleRate(): number; getFrameSize(): number; setFrameBufferFactory(factory: PCMAudioOutputInterface.FrameBufferFactory): void; isPaused(): boolean; newFrame: EventInterface; togglePause: EventInterface; } declare namespace PCMAudioOutputInterface { interface FrameBufferFactory { (): AudioOutputBuffer; } } export { PCMAudioOutputInterface as default };