Audio Recording volume suddenly drop after recording is started for 3 seconds. So the recorded Audio will have a steady sound and suddenly a drop after about 3 seconds. This happens all the time on this device.
I have also tried RecordConfig(encoder: AudioEncoder.wav, autoGain: true, androidConfig: AndroidRecordConfig(useLegacy: true)) and changing the encoder to AAC, yet the same problem occurs
Note: Other android recording apps on this phone works fine
Package version record: ^5.1.2
Environment
Describe the bug
Audio Recording volume suddenly drop after recording is started for 3 seconds. So the recorded Audio will have a steady sound and suddenly a drop after about 3 seconds. This happens all the time on this device.
Future<void> startRecording() async { String fileName = '${UserConfig.current.recordedFileNamePrefix}_${DateTime.now().millisecondsSinceEpoch}.${MyRecorder.audioFileExtension}'; String audioFilePath = path.join(Utilities.tmpDir, fileName); await _audioRecorder.cancel(); monitoringStreamStarted = false; await _audioRecorder.start(const RecordConfig(encoder: AudioEncoder.wav), path: audioFilePath); }
I have also tried
RecordConfig(encoder: AudioEncoder.wav, autoGain: true, androidConfig: AndroidRecordConfig(useLegacy: true))
and changing the encoder to AAC, yet the same problem occursNote: Other android recording apps on this phone works fine
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Recorded volume should be consistent