Skip to content

Commit

Permalink
add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed May 22, 2024
1 parent 44bc265 commit b21af19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sherpa-onnx/csrc/wave-reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ struct WaveHeader {
}

// NAudio uses 18
// See https://github.com/naudio/NAudio/issues/1132
if (subchunk1_size != 16 && subchunk1_size != 18) { // 16 for PCM
SHERPA_ONNX_LOGE("Expected subchunk1_size 16. Given: %d\n",
subchunk1_size);
Expand Down

0 comments on commit b21af19

Please sign in to comment.