@audio/decode 4.1.0 → 4.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.
package/audio-decode.js CHANGED
@@ -124,8 +124,8 @@ function fmt(name, init) {
124
124
 
125
125
  // --- codecs ---
126
126
  // dedupe (3rd arg): decoder upmixes mono sources to duplicate stereo (verified for mp3;
127
- // aac/wma flagged conservatively — same lossy-wasm family). Exact containers never dedupe;
128
- // video containers that may carry AAC or MP3 (mp4/mov, mkv, avi) do.
127
+ // aac flagged conservatively). Exact containers never dedupe, nor WMA (libavcodec keeps the
128
+ // declared width); video containers that may carry AAC or MP3 (mp4/mov, mkv, avi) do.
129
129
 
130
130
  reg('mp3', () => import('@audio/decode-mp3'), true)
131
131
  reg('flac', () => import('@audio/decode-flac'))
@@ -150,7 +150,7 @@ reg('dts', () => import('@audio/decode-dts'))
150
150
  reg('amr', () => import('@audio/decode-amr'))
151
151
  // raw frames, no signature: by name only (decode.gsm(), decode(src, 'gsm'))
152
152
  reg('gsm', () => import('@audio/decode-gsm'))
153
- reg('wma', () => import('@audio/decode-wma'), true)
153
+ reg('wma', () => import('@audio/decode-wma'))
154
154
 
155
155
  // lossless / audiophile long tail
156
156
  reg('wv', () => import('@audio/decode-wavpack'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audio/decode",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Decode audio data in node or browser",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/test.html CHANGED
@@ -45,7 +45,8 @@
45
45
  "@audio/decode-dsd": "./packages/decode-dsd/decode-dsd.js",
46
46
  "@audio/decode-mod": "./packages/decode-mod/decode-mod.js",
47
47
  "@audio/decode-amr": "./packages/decode-amr/decode-amr.js",
48
- "@audio/decode-wma": "./packages/decode-wma/decode-wma.js"
48
+ "@audio/decode-wma": "./packages/decode-wma/decode-wma.js",
49
+ "@audio/decode-gsm": "./packages/decode-gsm/decode-gsm.js"
49
50
  }
50
51
  }
51
52
  </script>