hi,
i am not sure where to post this but thought this might be a good place since it is rrelated to media.
i downloaded the windows media 9.5 sdk and was playing around with the example that plays audio files. it leaks severely, like half a gig in abour 4 hours. documentation states that the api will allocate and release memory. clearly it is not releasing memory.
has anyone used this sdk
here is what i want to do, stream audio via the internet and save it to an .asf file to be played later. i have it all working nicely except for the huge leak during playback and a small one during recording. can the media foundation development kit do this for me
thanks,
scott

severe memory leak
Andreas Johansson
i did use the sample as the base line and that is why i suspect the SDK to be leaking. i will dig into the sample more and see if it is using the SDK incorrectly. tis a shame.
thanks for the link
scott
Adam Plocher
Since you're talking about the Windows Media Format SDK, your best bet will probably be posting your question here: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.sdk&lang=en&cr=US
Off the top of my head, I'm going to guess that -- since the FSDK has been around for a while -- the leak is probably in the application, not the FSDK or below. So you might want to go back to the code for the original sample, try running that and see if it leaks, and if not, then look carefully at all the modifications you've done. Any further questions probably belong on the above newsgroup.
Media Foundation is a different (newer) playback pipeline for Windows Vista, in case you were going to try that out. The Vista SDK does include a playback sample written on top of Media Foundation as well.