Platform SDK: DirectX |
The DirectSound3DListener.GetDirectSoundBuffer method returns a DirectSoundBuffer object representing the primary buffer.
object.GetDirectSoundBuffer() As DirectSoundBuffer
If the method succeeds, a DirectSoundBuffer object is returned.
If the method fails, an error is raised and Err.Number may be set to DSERR_OUTOFMEMORY.