I am new to STM32 and probably asking a dumb question. I have designed a board to play audio files off a SPI flash. I can read and write to flash properly, but when I try to send the audio data to the speaker all I hear is the hissing noise. My wav file is 8Khz PCM mono. I converted the wav file to C using HxD. I tried playing the audio from my computer and connected the audio out to my amp on the board and I can hear the sound.
I am not parsing the audio samples as I thought I can just send the data to my dac and dac will pump the buffer to the amp so I can hear the sound. Now I would like to ask you experts, is the endianness of the audio file important? Do I have to parse the file and check for the little endian or big endian?
Any help would be appreciated.