@audio/decode-caf 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,4 +1,4 @@
1
- # decode-caf
1
+ # @audio/decode-caf
2
2
 
3
3
  Decode Core Audio Format (CAF) audio to PCM float samples.
4
4
 
@@ -7,13 +7,13 @@ Part of [audio-decode](https://github.com/audiojs/audio-decode).
7
7
  ## Install
8
8
 
9
9
  ```
10
- npm i @audio/caf-decode
10
+ npm i @audio/decode-caf
11
11
  ```
12
12
 
13
13
  ## Usage
14
14
 
15
15
  ```js
16
- import decode from '@audio/caf-decode'
16
+ import decode from '@audio/decode-caf'
17
17
 
18
18
  let { channelData, sampleRate } = await decode(cafBuffer)
19
19
  ```
@@ -21,7 +21,7 @@ let { channelData, sampleRate } = await decode(cafBuffer)
21
21
  ### Streaming
22
22
 
23
23
  ```js
24
- import { decoder } from '@audio/caf-decode'
24
+ import { decoder } from '@audio/decode-caf'
25
25
 
26
26
  let dec = await decoder()
27
27
  let result = dec.decode(chunk)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audio/decode-caf",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Decode CAF (Core Audio Format) audio to PCM samples",
5
5
  "type": "module",
6
6
  "main": "decode-caf.js",