Here's my motivation: I'm working in C# on some new tools for transforming signals, especially sounds. (I'll explain that somewhat-awkward clause later!) In particular, I've found out how to avoid an annoying bug that infests DirectSound's interaction with some sound-card drivers, that appears when streaming long sounds through a realistically-sized buffer, allocated with default properties. In this second revision of my article, I pass on some of the things I've learned about playing sounds in C# code, both from my own experiments and helpful input from the good folks who read the first one and commented. But because Managed DirectX is pretty new, it's not easy to find good examples of using it from C# and. It takes me about half as long to get the compiler to understand what I mean in C# as in C++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |