- New `AudioLevelCalculator` that outputs dB0v rescaled to the [0;1] range. - `VoiceRecorder` now stores the audio levels sampled while recording, then resamples them to 100 samples to use as waveform preview. - Waveform data is carried all the way as a `List<Float>` and converted to `List<Int>` in the [0;1024] range as per matrix spec only before sending it. |
||
|---|---|---|
| .. | ||
| main/kotlin/io/element/android/libraries/voicerecorder/impl | ||
| test/kotlin/io/element/android/libraries/voicerecorder | ||