Skip to content

Commit 5fe6f66

Browse files
authored
runfix: audio file previews don't match on sender and receiver side (#13958)
1 parent c07d331 commit 5fe6f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/cryptography/CryptographyMapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export class CryptographyMapper {
361361
_mapAssetMetaData(original: Asset.IOriginal): MappedAssetMetaData | undefined {
362362
const audioData = original.audio;
363363
if (audioData) {
364-
const loudnessArray = audioData.normalizedLoudness ? audioData.normalizedLoudness.buffer : new ArrayBuffer(0);
364+
const loudnessArray = audioData.normalizedLoudness || new ArrayBuffer(0);
365365
const durationInSeconds = audioData.durationInMillis
366366
? Number(audioData.durationInMillis) / TIME_IN_MILLIS.SECOND
367367
: 0;

0 commit comments

Comments
 (0)