Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SoundioOutputStream

Hierarchy

  • SoundioOutputStream

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

clearBuffer

  • clearBuffer(): void

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

setVolume

  • setVolume(volume: number): void

start

  • start(): void

Generated using TypeDoc