Voice-Recorder
Voice-Recorder copied to clipboard
Changed default sampling rate (#32)
What is it?
- [X] Bugfix
- [ ] Feature
- [ ] Codebase improvement
Description of the changes in your PR
- Changed default sampling rate from 44.1 kHz to 48 kHz, so there's no need to write any conditions to check for Opus.
- Tested on real mobile and recording in 48 kHz works correctly for each of three file types.
- I've also cross-tested with the released version and Opus now sounds as it should.
- We can let users change to 44.1 kHz with implementing #33 in the future.
Fixes the following issue(s)
- Fixes #32
Acknowledgement
- [X] I read the contribution guidelines.
Any idea when this and https://github.com/FossifyOrg/Voice-Recorder/pull/36 will be merged?
It should be merged before the release of the next version, but I can't tell you when exactly it will happen. Please wait patiently.
This will work for now. I second the eagerness to see it released.
If anyone wondered, this behavior is because Opus does not support 44,100 at all, so it encodes the samples anyway but marks it as the nearest thing supported, 48,000.
Thanks!