Jump to content
  • Advertisement
Sign in to follow this  
Xangis

Capturing DirectMusic Performance Output to Wave File

This topic is 4150 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

I have a an application that plays 8 channels of audio, via DirectMusic Segments each with its own AudioPath (so I can control effects and volume separately) using a single DirectMusic Performance. It works beautifully, but there's something I'd like to do and I'm not sure whether it's possible or whether there's a sensible solution: I'd like the audio that is being rendered to the speakers (a.k.a. Final Mix) to also be captured and rendered to a wave file. Are there any special hooks I can latch onto to get the rendered audio? Some way I can snoop a copy of the output buffer? Maybe some sort of callback? Perhaps a super-secret undocumented logging flag I can enable? A reflexive capture mode? Any hints, suggestions, or creative ideas would be greatly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Buried deep in the darkest recesses of the documentation I've found my answer:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dmusprod/htm/fileoutputinanaudiopath.asp

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!