Direct Sound Sample

This sample is located in \Samples\DirectX\Dsound.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows the basic use of Microsoft® DirectSound®.

Using the Sample

To run the sample

This sample plays a .wav file when run.

Key Project Files

DSound.java

This class implements a Java applet that sets up the sound and frame.

DSoundLIB.java

This class implements the playing sound with Microsoft® DirectX®.

DSoundFrame.java

This class creates a simple frame that hosts the messages while the sound is playing.

Dsj.cab

This cabinet file contains the signed Java classes so that they will be accessible from a Web browser.

Technologies Demonstrated

DirectX

© 1999 Microsoft Corporation. All rights reserved. Terms of use.