Appendix B. Playing Music and Videos

IN THIS APPENDIX

The Managed DirectX SDK included APIs to talk with each of the DirectX APIs, with the exception of DirectMusic and DirectShow. While the reasons for this decision could be debated, we understood early on that at the very least, developers were going to want (and need) a way to play DirectShow content, namely movies and encoded music (such as mp3s and wma files). We wanted a simple and easy-to-use interface for accessing this basic functionality, and thus the AudioVideoPlayback namespace was born. In this appendix we will cover this namespace, including

  • Simple playback of an audio file

  • Simple playback ...

Get Managed DirectX® 9 Kick Start: Graphics and Game Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.