Hey
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.soundplay er 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
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.soundplay er 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