By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,016 Members | 1,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,016 IT Pros & Developers. It's quick & easy.

audio playback from stream in c#

P: 1

i've developed a call logging system that records to mono a-law wav files.

now i want to add a feature to playback the audio as its being recorded

an event fires when i recieve audio
private evAudio(intptr buffer,int size)


all i basically do is convert the Intpr buffer to string .. then append it to a wav file opened in binary mode.. this is done after adding the necessary file headers of course

now i would like to be able to play this audio buffer and got no clue how to do it.. ive tried media.soundplayer with memory stream but i get wav header is corrupted message

if any1 could recommend a way to do this .. even by using a commercial product

many thanks
Apr 9 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.