InputSoundFile
源码与继承
成员目录15
构造函数
方法
getChannelCount
getChannelCount(): number
getChannelMap
getChannelMap(): Readonly
getSampleOffset
getSampleOffset(): bigint
openFromFile
openFromFile(filename: string): Promise<boolean>
openFromMemory
openFromMemory(data: Uint8Array): Promise<boolean>
read
read(data: Int16Array): Promise<bigint>
符号成员
只读[audioHandle]
"[audioHandle]": AudioHandle<"input">
源码与继承
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
可寻址音频解码器,按调用顺序异步读取交错 16 位 PCM。