element-hq / element-hq/element-web
voice message waveform preview and actual waveform mismatch
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
send a short voice msg, not actually recording anything, microphone muted in hardware
### What happened?

```
"org.matrix.msc1767.audio": {
"duration": 1792,
"waveform": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
```
### What did you expect?
matching
### Operating system
arch
### Application version
Element Nightly version: 2021081701 Olm version: 3.2.3
### How did you install the app?
aur nightly-bin
Contributor guide
Assessment
This issue has not been assessed yet.