Buckets:
dieumercimvemba/mediastore / scripts /whatsapp-bridge /node_modules /music-metadata /lib /mpeg /MpegParser.d.ts
| import { AbstractID3Parser } from '../id3v2/AbstractID3Parser.js'; | |
| declare const MpegContentError_base: { | |
| new (message: string): { | |
| readonly fileType: string; | |
| toString(): string; | |
| name: "UnexpectedFileContentError"; | |
| message: string; | |
| stack?: string; | |
| }; | |
| captureStackTrace(targetObject: object, constructorOpt?: Function): void; | |
| prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any; | |
| stackTraceLimit: number; | |
| }; | |
| export declare class MpegContentError extends MpegContentError_base { | |
| } | |
| export declare class MpegParser extends AbstractID3Parser { | |
| private frameCount; | |
| private syncFrameCount; | |
| private totalDataLength; | |
| private audioFrameHeader?; | |
| private bitrates; | |
| private offset; | |
| private frame_size; | |
| private calculateEofDuration; | |
| private samplesPerFrame; | |
| private buf_frame_header; | |
| /** | |
| * Number of bytes already parsed since beginning of stream / file | |
| */ | |
| private mpegOffset; | |
| private syncPeek; | |
| /** | |
| * Called after ID3 headers have been parsed | |
| */ | |
| postId3v2Parse(): Promise<void>; | |
| /** | |
| * Called after file has been fully parsed, this allows, if present, to exclude the ID3v1.1 header length | |
| */ | |
| protected finalize(): void; | |
| private sync; | |
| /** | |
| * Combined ADTS & MPEG (MP2 & MP3) header handling | |
| * @return {Promise<boolean>} true if parser should quit | |
| */ | |
| private parseCommonMpegHeader; | |
| /** | |
| * @return {Promise<boolean>} true if parser should quit | |
| */ | |
| private parseAudioFrameHeader; | |
| private parseAdts; | |
| private parseCrc; | |
| private skipSideInformation; | |
| private readXtraInfoHeader; | |
| /** | |
| * Ref: http://gabriel.mp3-tech.org/mp3infotag.html | |
| * @returns {Promise<string>} | |
| */ | |
| private readXingInfoHeader; | |
| private skipFrameData; | |
| private areAllSame; | |
| } | |
| export {}; | |
Xet Storage Details
- Size:
- 1.89 kB
- Xet hash:
- 9e2cddf48c97dc15eb260024360b6a81d1019a2fadfabcb0496e192a79bf3f6a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.