Microsoft DirectX 8.0 (Visual Basic) |
Represents the primary sound buffer.
An object of the DirectSoundPrimaryBuffer8 class can be obtained by using the DirectSound8.CreatePrimarySoundBuffer method. Typically a primary buffer object is used to set the output format and to obtain a 3-D listener that controls global sound parameters. Specialized applications can handle the mixing of data into the primary buffer, but normally this is handled by DirectSound when secondary buffers are played.
The methods of this class can be organized into the following groups.
Data streaming | Play |
ReadBuffer | |
Stop | |
WriteBuffer | |
Parameters | GetCaps |
GetCurrentPosition | |
GetDirectSound3DListener | |
GetFormat | |
GetPan | |
GetStatus | |
GetVolume | |
SetFormat | |
SetPan | |
SetVolume | |
Miscellaneous | Restore |