MCPcopy
hub / github.com/mifi/editly / readAudioFileInfo

Function readAudioFileInfo

util.js:54–58  ·  view source on GitHub ↗
(ffprobePath, p)

Source from the content-addressed store, hash-verified

52}
53
54export async function readAudioFileInfo(ffprobePath, p) {
55 const duration = await readDuration(ffprobePath, p);
56
57 return { duration };
58}
59
60export function toArrayInteger(buffer) {
61 if (buffer.length > 0) {

Callers 1

parseConfigFunction · 0.90

Calls 1

readDurationFunction · 0.85

Tested by

no test coverage detected