diff --git a/torchaudio/csrc/sox/utils.cpp b/torchaudio/csrc/sox/utils.cpp index 5b662bd6ff..4bb0a0e6e7 100644 --- a/torchaudio/csrc/sox/utils.cpp +++ b/torchaudio/csrc/sox/utils.cpp @@ -222,7 +222,7 @@ std::tuple get_save_encoding_for_wav( case Encoding::PCM_SIGNED: switch (bits_per_sample) { case BitDepth::NOT_PROVIDED: - return std::make_tuple<>(SOX_ENCODING_SIGN2, 32); + return std::make_tuple<>(SOX_ENCODING_SIGN2, 16); case BitDepth::B8: TORCH_CHECK( false, format, " does not support 8-bit signed PCM encoding.");