Microsoft DirectX 8.1 (Visual Basic) |
The GetDirectSoundBuffer method retrieves the primary buffer from which the listener was created.
Syntax
object.GetDirectSoundBuffer() As DirectSoundPrimaryBuffer8
Parts
object
Resolves to a DirectSound3DListener8 object.
Return Values
Returns a DirectSoundPrimaryBuffer8 object.
Error Codes
If the method fails, an error is raised and Err.Number may be set to DSERR_OUTOFMEMORY.