Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that rounded capacity is non-zero in resampleBuffer. (#295)
Round off in resampling can lead to a rounded capacity of zero, causing AVAudioPCMBuffer to fail, and thereby causing transcription to fail entirely. (#224) This is a simple fix, simply requiring the buffer to have a non-zero capacity.
- Loading branch information