From 7c672c5ee915b87f19eb60cbd689ae666aa3caed Mon Sep 17 00:00:00 2001 From: n1073645 Date: Mon, 23 Mar 2020 10:11:24 +0000 Subject: [PATCH] MP3 Extractor added --- src/core/lib/FileSignatures.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/FileSignatures.mjs b/src/core/lib/FileSignatures.mjs index 3e21aca9..4d127075 100644 --- a/src/core/lib/FileSignatures.mjs +++ b/src/core/lib/FileSignatures.mjs @@ -3109,10 +3109,10 @@ export function extractMP3(bytes, offset) { // Read flag byte. const flags = stream.readInt(1); - // Extract frame bitrate from flag byte. + // Extract frame bit rate from flag byte. const bitRate = bitRateIndexes[flags >> 4]; - // Extract frame samplerate from flag byte. + // Extract frame sample rate from flag byte. const sampleRate = samplingRateFrequencyIndex[(flags & 0x0f) >> 2]; // Padding if the frame size is not a multiple of the bitrate.