Sign in to follow this  
Xangis

Capturing DirectMusic Performance Output to Wave File

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this