sfml.js
    Preparing search index...

    Class SoundStream

    Buffered SFML stream. The supplied module produces PCM in a Node Worker.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    "[audioHandle]": AudioHandle<"source">
    ready: Promise<boolean>

    Worker 初始化和首批数据准备的结果;播放前应等待。

    times: BigInt64Array
    values: Float32Array
    Cone: typeof Cone = Cone

    方向锥配置类型。

    Status: typeof SoundStatus = SoundStatus

    播放状态枚举。

    Methods

    • 返回 Worker 错误;尚无错误时为 undefined。

      Returns undefined | Error