"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAudioStructure = void 0; const isAudioStructure = (structure) => { if (structure.type === 'mp3') { return true; } if (structure.type === 'wav') { return true; } if (structure.type === 'aac') { return true; } if (structure.type === 'flac') { return true; } if (structure.type === 'iso-base-media') { return false; } if (structure.type === 'matroska') { return false; } if (structure.type === 'transport-stream') { return false; } if (structure.type === 'riff') { return false; } if (structure.type === 'm3u') { return false; } throw new Error(`Unhandled structure type: ${structure}`); }; exports.isAudioStructure = isAudioStructure;