hi
is it possible to cast a vb.net 2005 audio wav file embedded as a resource from type IO.UnmanagedMemoryStream to IWMPMedia interface so that I can play resource audio in windows media player?
any help would be appreciated
sin1965
I currently am trying something simular, but found the only way is to save the audio into a temp file and give wmp the filename, then remove the temp file when the app closes or when wmp has finished with it.
The only other way i could think of, was to create a network class (using threading) to stream the file to wmp. But this is well too much for a small project, due to the fact that you'll end up with a http web/media server...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.