Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BC-Breaking] Default to PCM_16 for flac on soundfile backend (pytorc…
…h#1604) * [BC-Breaking] Default to PCM_16 for flac on soundfile backend Resolving pytorch#1592 The test backend/soundfile/save_test.py::TestFileObject::test_fileobj_flac is failing due to the fact that when soundfile.write received subtype=None (for flac files), it would fall back to 'PCM_16'. But in the same time, torchaudio will use 'PCM_24', which would result in distorted signal. This commit fixed this issue by changing the default bit-per-sample of for flac files from 24-bit to 16-bit.
- Loading branch information