Archived

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

BlueChip

help with "CreateSegmentFromFileInMemory"

Recommended Posts

Hi folks... Is there in directX a way to load a music file (midi... wave ... etc) from a buffer (like D3DXCreateTextureFromFileInMemory for the texture) ? because I would like making a only big file with all audio.. ( like a sound.mul and soundidx.mul in UltimaOnLine )... I've checked in SDK and there isn't nothing that could help me.. byezzz ^__^ [edited by - BlueChip on October 24, 2003 9:15:30 AM]

Share this post


Link to post
Share on other sites
Look up the GetObject method, its part of the IDirectMusicLoader8 interface. Also, read the section "Loading Audio Data" under the DirectMusic docs.

Matt

[edited by - mishikel on October 24, 2003 9:53:48 AM]

Share this post


Link to post
Share on other sites
I've followed your advice, but I've met a problem:

-EDIT-
I've followed your advice more carefully , and I've not met problems. ^__^
-EDIT-

[edited by - BlueChip on October 26, 2003 2:27:47 PM]

Share this post


Link to post
Share on other sites