Skip to main content
GameDev.net gamedev.net
🔒 Locked

[managed] DirectShow

Started by hyper88 Apr 11, 2006 at 3:17 AM 0 replies 350+ views
Original Post
hyper88
hyper88
Hi, i can do some simple playback with directshow but i have encountered with a problem...how can i choose the audio device that i want to use to play the mp3 with directshow? In dirctSound, i can do it by passing the driverguid into the device object and creating multiple instances of the device object is not a problem. With directShow : Can i choose which device to use and how? Guys, thank for reading this....really appreciate it.
mdias
mdias
I don't know specifics about managed directshow, but in theory you'd have to enumerate the filters you have that act as Audio Renderers and add the one you want to the graph manually.
After adding the audio renderer that you want you should be able to just render the graph normally and the audio should be output to that filter automagically.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.