I am trying to develop a winforms application to integrating AWS lex voice service.
I am not able to play the audio received from AWS Lex bot "postContentResponse.AudioStream" in winforms application. I am using SoundPlayer to play the audio stream. Audio stream format is ".wav"
I get error "The wave header is corrupt" while playing the audio stream.