mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix: Call onAmplitudeChange on AudioRecorderModel when amplitude changes
This commit is contained in:
parent
4d2d73d562
commit
e116c192f6
@ -42,6 +42,10 @@ class AudioRecorderModel :
|
|||||||
service.onMicrophoneReconnected = {
|
service.onMicrophoneReconnected = {
|
||||||
microphoneStatus = MicrophoneConnectivityStatus.CONNECTED
|
microphoneStatus = MicrophoneConnectivityStatus.CONNECTED
|
||||||
}
|
}
|
||||||
|
service.onAmplitudeChange = { amps ->
|
||||||
|
amplitudes = amps
|
||||||
|
onAmplitudeChange()
|
||||||
|
}
|
||||||
service.settings =
|
service.settings =
|
||||||
AudioRecorderService.Settings.from(settings)
|
AudioRecorderService.Settings.from(settings)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user