Add some comment

This commit is contained in:
Benoit Marty 2025-10-13 16:06:08 +02:00 committed by Benoit Marty
parent 83c695d695
commit c10c60134c
4 changed files with 13 additions and 3 deletions

View file

@ -21,11 +21,13 @@ sealed interface VoiceMessageState {
val showCursor: Boolean,
val playbackProgress: Float,
val time: Duration,
// Values are between 0 and 1
val waveform: ImmutableList<Float>,
) : VoiceMessageState
data class Recording(
val duration: Duration,
// Values are between 0 and 1
val levels: ImmutableList<Float>,
) : VoiceMessageState
}