I used STM32F10x_AN2812_FW_V2.0.0 to have speex encoding /decoding on voice on my Discovery board.
I used encoding functions and then decoding one and saved the data in .wav format using FATFS. It works very well and I am sure that my code is correct but there is a problem, I want to omit decoding step and save encoded data in .spx format. The main problem is **adding suitable header** to .spx file.
How can I save encoded data in .spx format which PC software could play it?