mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-03 06:28:50 +00:00
0.0.1
This commit is contained in:
1 parent
64224cb2ae
commit
b48814e7d2
10 files changed
+577
-236
No files matched your search
Vendored
+6
@@ -16,6 +16,8 @@ export interface ProbeResult {
|
||||
nFrames: number
|
||||
/** The approximate duration of this media in seconds */
|
||||
duration: number
|
||||
/** The metadata object */
|
||||
metadata: Array<MetadataField>
|
||||
}
|
||||
export const enum CodecType {
|
||||
UNKNOWN = 0,
|
||||
@@ -85,4 +87,8 @@ export const enum CodecType {
|
||||
ALAC = 8195,
|
||||
TTA = 8196
|
||||
}
|
||||
export interface MetadataField {
|
||||
name: string
|
||||
value: string
|
||||
}
|
||||
export function probe(data: Buffer): ProbeResult
|
||||
Reference in new issue
Block a user