OutputSoundFile
源码与继承
成员目录5
构造函数
方法
openFromFile
openFromFile( filename: string, sampleRate: number, channelCount: number, channelMap: Iterable<SoundChannel>,): Promise<boolean>
write
write(data: Int16Array): Promise<void>
符号成员
只读[audioHandle]
"[audioHandle]": AudioHandle<"output"> = ...
源码与继承
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
将交错 16 位 PCM 异步编码到音频文件,格式由文件扩展名决定。