Enhance audio recording functionality to improve duration handling

- Updated getAudioDuration function to utilize recordedDuration property for files, addressing metadata issues on Windows.
- Modified onRecordingComplete callbacks in audio recording hooks to pass the actual recorded duration.
- Adjusted error handling in ProfileForm and SampleUpload components to clear validation errors for recorded files.
- Ensured consistent handling of audio file duration across components.
This commit is contained in:
Jamie Pine
2026-01-26 16:22:31 -08:00
parent 446182e16c
commit 8cd868d33f
5 changed files with 63 additions and 19 deletions
Binary file not shown.