Browse Source

MP3 Extractor added

n1073645 5 years ago
parent
commit
7c672c5ee9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/core/lib/FileSignatures.mjs

+ 2 - 2
src/core/lib/FileSignatures.mjs

@@ -3109,10 +3109,10 @@ export function extractMP3(bytes, offset) {
         // Read flag byte.
         // Read flag byte.
         const flags = stream.readInt(1);
         const flags = stream.readInt(1);
 
 
-        // Extract frame bitrate from flag byte.
+        // Extract frame bit rate from flag byte.
         const bitRate = bitRateIndexes[flags >> 4];
         const bitRate = bitRateIndexes[flags >> 4];
 
 
-        // Extract frame samplerate from flag byte.
+        // Extract frame sample rate from flag byte.
         const sampleRate = samplingRateFrequencyIndex[(flags & 0x0f) >> 2];
         const sampleRate = samplingRateFrequencyIndex[(flags & 0x0f) >> 2];
 
 
         // Padding if the frame size is not a multiple of the bitrate.
         // Padding if the frame size is not a multiple of the bitrate.