@audio/decode-aac 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # decode-aac
1
+ # @audio/decode-aac
2
2
 
3
3
  Decode AAC/M4A audio to PCM float samples. FAAD2 compiled to WASM — works in Node.js and browsers, no native dependencies.
4
4
 
5
5
  ## Install
6
6
 
7
7
  ```
8
- npm i @audio/aac-decode
8
+ npm i @audio/decode-aac
9
9
  ```
10
10
 
11
11
  ## Usage
12
12
 
13
13
  ```js
14
- import decode from '@audio/aac-decode'
14
+ import decode from '@audio/decode-aac'
15
15
 
16
16
  // M4A or raw ADTS — auto-detected
17
17
  let { channelData, sampleRate } = await decode(uint8array)
@@ -22,7 +22,7 @@ let { channelData, sampleRate } = await decode(uint8array)
22
22
  ### Streaming
23
23
 
24
24
  ```js
25
- import { decoder } from '@audio/aac-decode'
25
+ import { decoder } from '@audio/decode-aac'
26
26
 
27
27
  let dec = await decoder()
28
28
  let { channelData, sampleRate } = dec.decode(chunk)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audio/decode-aac",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Decode AAC/M4A audio via FAAD2 WASM",
5
5
  "type": "module",
6
6
  "main": "decode-aac.js",