Overview
Chapter
|
| Constructors and Destructors | ||
| CDXSoundBuffer | Default constructor. | |
| ~CDXSoundBuffer | Default destructor. | |
| Operations | ||
| CreateSoundBuffer | Called internally by the LoadFromFile function. | |
| Extract | This function creates a sound buffer for a WAV file already loaded in memory. | |
| GetFreeBuffer | Called internally. | |
| Load | Loads a WAVE file from Filepointer. | |
| Load | Loads a WAVE file from Filename. | |
| LoadFromFile | Loads and creates a sound buffer from a file. | |
| LoadFromMemory | Loads and creates a sound buffer from Memory. | |
| LoadFromRes | Loads a WAVE file from [WAV] Resource. | |
| Play | Plays the loaded WAV file. | |
| PlayFrequency | Plays the loaded WAV file. | |
| Playing | Changes the pan of the sound buffer. | |
| ReadData | Called internally by the LoadFromFile function. | |
| ReadDataFromMemory | Called internally by the LoadFromMemory function. | |
| Release | ||
| SetPan | Changes the pan of the sound buffer. | |
| SetVolume | Changes the volume of the sound buffer. | |
| Stop | Stops the current WAV file. | |
| Data Members | ||
| public | ||
| The currently selected buffer. | ||
| The name of the WAVE file. | ||
| The IDirectSoundBuffer object. | ||
| The number of sound buffers created. | ||
| Contains a pointer to the CDXSound object. | ||