Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SoundioInputStream

Hierarchy

  • SoundioInputStream

Index

Methods

attachProcessFunctionFromWorker

  • attachProcessFunctionFromWorker(scriptPath: string): Worker
  • Start the module specified by scriptPath in a new worker thread and use it as the process function The module should export a class extending AudioWorkletProcessor with the process method implemented

    Parameters

    • scriptPath: string

    Returns Worker

close

  • close(): void

getLatency

  • getLatency(): number

isOpen

  • isOpen(): boolean

setPause

  • setPause(paused: boolean): void

setProcessFunction

  • setProcessFunction(process: (outputChannels: Buffer[]) => boolean): void
  • Parameters

    • process: (outputChannels: Buffer[]) => boolean
        • (outputChannels: Buffer[]): boolean
        • Parameters

          • outputChannels: Buffer[]

          Returns boolean

    Returns void

start

  • start(): void

Generated using TypeDoc