Archived

This topic is now archived and is closed to further replies.

ShmeeBegek

DirectX Audio

Recommended Posts

I''ve been using the IDirectMusicLoader8::LoadObjectFromFile to create audio clips from wav files in DirectX for a while now, but I''ve come to a problem with this. It appears it keeps the file opened when I use this method, so that I cannot re-use the (temporary) file, nor can I delete it. I know how to load all of the audio files I work with manually, and I am wondering if there is a way to give the loader the samples with a pointer instread of having to write them to a temporary file and then use IDirectMusicLoader8::LoadObjectFromFile? I don''t use DirectX often, so any help is appreciated. Thanks, ~SPH

Share this post


Link to post
Share on other sites