Dimowner / AudioRecorder

Audio Recording Android application
Apache License 2.0
759 stars 173 forks source link

Unclosed file corrupted on quit #21

Closed starsinmypockets closed 4 months ago

starsinmypockets commented 4 years ago

I have a large file that was not closed and is now corrupted. Is it possible to periodically save the file while it is recording in order to avoid losing large recordings entirely if the closed properly?

Also, I am looking for information how to recover the file. In particular, I am looking for information about how what encoding the audio is.

Dimowner commented 4 years ago

The app has 2 recording formats: By default is selected .m4a MPEG4 media file format encoded with AAC Low Complexity (AAC-LC) audio codec. The second format WAV format it is pure PCM uncompressed audio data

The app has problems with recording long records. In the near future will fix these issues.

PontiacCZ commented 4 years ago

What recording length causes troubles in the current version? Half an hour? Two hours? Just curious so I don't end up with a corrupted file as the OP did. :-)

Dimowner commented 4 years ago

For now, almost all recording troubles are fixed.

I've tested on a few devices recorded 8-9hour records successfully. The only remaining issue is a waveform for long records (2-3hours and longer) are not displayed correctly usually it is a flat line.