@remotion/studio
Version:
APIs for interacting with the Remotion Studio
19 lines (18 loc) • 481 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.humanReadableAudioCodec = void 0;
const humanReadableAudioCodec = (audioCodec) => {
if (audioCodec === 'aac') {
return 'AAC';
}
if (audioCodec === 'mp3') {
return 'MP3';
}
if (audioCodec === 'pcm-16') {
return 'Lossless';
}
if (audioCodec === 'opus') {
return 'Opus';
}
};
exports.humanReadableAudioCodec = humanReadableAudioCodec;