mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix: Recorder start fixes
This commit is contained in:
parent
536271109b
commit
968c3cc32c
@ -82,6 +82,10 @@ fun StartRecording(
|
||||
)
|
||||
}
|
||||
|
||||
runCatching {
|
||||
audioRecorder.stopRecording(context)
|
||||
}
|
||||
|
||||
AudioRecorderExporter.clearAllRecordings(context)
|
||||
|
||||
audioRecorder.startRecording(context)
|
||||
|
@ -94,6 +94,7 @@ fun AudioRecorderScreen(
|
||||
delay(100)
|
||||
|
||||
try {
|
||||
audioRecorder.stopRecording(context)
|
||||
val file = AudioRecorderExporter(
|
||||
audioRecorder.recorderService?.getRecordingInformation()
|
||||
?: settings.lastRecording
|
||||
|
Loading…
x
Reference in New Issue
Block a user