Members
(inner) head_ :number
Type:
- number
Methods
(static) findChunk(chunksnon-null, chunkId, multiple) → (nullable) {Array.<!Object>}
Find a chunk by its fourCC_ in a array of RIFF chunks.
Parameters:
Name | Type | Description |
---|---|---|
chunks |
Object | The wav file chunks. |
chunkId |
string | The chunk fourCC_. |
multiple |
boolean | True if there may be multiple chunks with the same chunkId. |
Returns:
- Type
- Array.<!Object>
(static) riffChunks(buffernon-null) → (non-null) {Object}
Return the chunks in a RIFF/RIFX file.
Parameters:
Name | Type | Description |
---|---|---|
buffer |
Uint8Array | The file bytes. |
Returns:
The RIFF chunks.
- Type
- Object