comparison doc/Codec-utils @ 144:30c7bc064218

doc/Codec-utils: add note about PCM file format issue
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 14 Dec 2022 07:25:46 +0000
parents 8eb0e7a39409
children 04936af99fc8
comparison
equal deleted inserted replaced
143:195911f2211c 144:30c7bc064218
35 and feeds all frames and BFIs to our EFR decoder. The decoded 35 and feeds all frames and BFIs to our EFR decoder. The decoded
36 output is written as WAV. 36 output is written as WAV.
37 37
38 WAV reading and writing functions used by the above utilities have been lifted 38 WAV reading and writing functions used by the above utilities have been lifted
39 out of opencore-amrnb test code. 39 out of opencore-amrnb test code.
40
41 Now that we are starting to encounter use cases that involve more than feeding
42 a PC microphone recording to test encoders and playing decoder output on PC
43 speakers, many of those other use cases call for using raw format instead of WAV
44 for 16-bit linear PCM. While it would be philosophically most proper to add an
45 option to gsm[e]fr-encode and gsm[e]fr-decode utilities to read/write raw PCM
46 files instead of WAV, doing so would complicate the code too much. As a
47 compromise between code simplicity and functionality, we provide lossless
48 conversion utilities - see PCM-file-formats article.