sherpa-onnx-node-addon-api
    Preparing search index...

    Class OfflineStream

    OfflineStream represents a synchronous offline audio stream.

    Index
    handle: any
    • Get a string option of the underlying offline stream.

      Returns an empty string if the option has not been set; use hasOption() to distinguish an unset option from an empty value.

      Parameters

      • key: string

      Returns string

    • Check whether an option has been set on the underlying offline stream.

      Parameters

      • key: string

      Returns boolean

    • Set a string option on the underlying offline stream.

      Parameters

      • key: string
      • value: string

      Returns void