API 参考
正在准备搜索索引…

ReadonlySoundBuffer

ReadonlySoundBuffer: Readonly<
    Pick<
        SoundBuffer,
        | typeof audioHandle
        | "getSamples"
        | "getSampleCount"
        | "getSampleRate"
        | "getChannelCount"
        | "getChannelMap"
        | "getDuration"
        | "saveToFile",
    >,
>

音频缓冲区的只读接口,样本视图保留其对应的原生存储。

源码与继承

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0