Advertisement
1_2002 Internet/ HTML #111310

Easy DirectX7 Sound Class (Play Multiple Sounds!)

I am making a game that needs the ability to play multiple sounds at one time. After asking around at many fourums, everyone said "you will need to use DirectX" So I downloaded the SDK, and found it kind of confusing, and i dont like to use multiple classes for one purpose, so i took the examples from the SDK and shrunk them down into one easy-to-use class. This class allows you to load up a WAVE, alter the panning, frequency and volume.. and finally play it. If you need to run 2 wavs at the same time, load up another class and bam, your ready to go. It basically takes 3 lines of code to play a sound in DirectX7 with this class! have fun!

AI

AIサマリー: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ソースコード
original-source
Upload
オリジナルのコメント (3)
Wayback Machineから復元