Advertisement Jump to content


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


DirectMusic and multithreading

This topic is 5334 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello Group, I am having trouble with DirectMusic. Our app. uses 2 separate threads, one for resource loading another for main. IDirectMusicSegment objects, loaded on loader thread are not playing in main thread. No errors are returned, just silence. If I try to play sound in loader thread (immidiately after load) sound''s playing well. Please help! Vytautas

Share this post

Link to post
Share on other sites
Sounds are not touched before loading completes anyway. However, having in mind that we can''t actually know what direct music does....

anyway, I found out that the problem is in performance objects. If I create and intitialize them on loader thread, I get no sound. But if I do that on main thread (sounds are loaded on loader thread) everything works well.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!