AnsweredAssumed Answered

Play Wav file

Question asked by aniketmarkande on Nov 24, 2017
Latest reply on Dec 13, 2017 by Jing Pan

Hello All,


I am trying to run audio file (.wav) using SDK 2.0 USB stack on kinetic K22 controller. I am sending data from controller to PCM2706C (which is stereo audio DAC with usb interface IC) and is connected to speaker (single speaker).


I am reading data from the wave file in uint8_t buffer and sending to the speaker using USB_HostAudioStreamSend(). The sound file is not getting played as it should be and dont know whats wrong.


Wav file details: encoded with 16-bit pcm, mono channel, 32000Khz sampling freq.