3 file formats are now supported. We call them
framed,
streamed and
raw.
Framed format is used for file recording. It is the default format. The padding can be removed from data.
| Code: : |
uint32_t nbFrames
for each frame
uint16_t frameSize
uint8_t data[frameSize]
|
Streamed format is used for streamed applications. As the total number of frames is unknown before end of transmission, the corresponding field is removed. The padding can be removed from data.
| Code: : |
for each frame
uint16_t frameSize
uint8_t data[frameSize]
|
Raw format is a bit-by-bit (but byte aligned on sync) recording of a G.703 data stream. The padding is always present.
| Code: : |
for each frame
uint8_t data[6144]
|
CRC-DabMod and CRC-EtiStreamer both automatically recognize the input format.
CRC-DabMux uses a file output format option. The format is
-O file://filename?type=type. There query part (from ? symbol to the end) is optional. Types are
framed,
streamed and
raw.
Pascal