feat: implement async probe

This commit is contained in:
skdhg committed 2023-08-23 21:02:36 +05:45
1 parent 3f96a50859
commit ed309d9870
6 files changed
+57 -70

No files matched your search

+2 -1
View File
@@ -252,9 +252,10 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`)
}
const { getOpusVersion, OpusEncoder, CodecType, probe } = nativeBinding
const { getOpusVersion, OpusEncoder, CodecType, probe, probeSync } = nativeBinding
module.exports.getOpusVersion = getOpusVersion
module.exports.OpusEncoder = OpusEncoder
module.exports.CodecType = CodecType
module.exports.probe = probe
module.exports.probeSync = probeSync