mediabunny 1.45.0 → 1.45.2
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/dist/bundles/mediabunny.cjs +2 -2
- package/dist/bundles/mediabunny.min.cjs +2 -2
- package/dist/bundles/mediabunny.min.mjs +2 -2
- package/dist/bundles/mediabunny.mjs +2 -2
- package/dist/bundles/mediabunny.node.cjs +2 -2
- package/dist/modules/src/codec.js +1 -1
- package/dist/modules/src/id3.js +1 -1
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/codec.ts +1 -1
- package/src/id3.ts +1 -1
|
@@ -1942,7 +1942,7 @@ var Mediabunny = (() => {
|
|
|
1942
1942
|
}
|
|
1943
1943
|
};
|
|
1944
1944
|
var OPUS_SAMPLE_RATE = 48e3;
|
|
1945
|
-
var PCM_CODEC_REGEX = /^pcm-([usf])(\d+)
|
|
1945
|
+
var PCM_CODEC_REGEX = /^pcm-([usf])(\d+)(be)?$/;
|
|
1946
1946
|
var parsePcmCodec = (codec) => {
|
|
1947
1947
|
assert(PCM_AUDIO_CODECS.includes(codec));
|
|
1948
1948
|
if (codec === "ulaw") {
|
|
@@ -25266,7 +25266,7 @@ var Mediabunny = (() => {
|
|
|
25266
25266
|
}
|
|
25267
25267
|
readU24() {
|
|
25268
25268
|
const high = this.view.getUint16(this.pos, false);
|
|
25269
|
-
const low = this.view.getUint8(this.pos +
|
|
25269
|
+
const low = this.view.getUint8(this.pos + 2);
|
|
25270
25270
|
this.pos += 3;
|
|
25271
25271
|
return high * 256 + low;
|
|
25272
25272
|
}
|