Microsoft DirectX 8.1 (Visual Basic) |
The GetDirectSound3DBuffer method retrieves an object that can be used to manipulate 3-D effects on the buffer.
Syntax
object.GetDirectSound3DBuffer() As DirectSound3DBuffer8
Parts
object
Resolves to a DirectSoundSecondaryBuffer8 object.
Return Values
Returns a DirectSound3DBuffer8 object.
Error Codes
If the method fails, an error is raised and Err.Number may be set to E_NOINTERFACE or DSERR_OUTOFMEMORY.
Remarks
The method succeeds only on buffers that have been created with the DSBCAPS_CTRL3D flag.