BASS_Get3DPosition

Retrieves the position, velocity, and orientation of the listener.

BOOL WINAPI BASS_Get3DPosition(
    BASS_3DVECTOR *pos,
    BASS_3DVECTOR *vel,
    BASS_3DVECTOR *front
    BASS_3DVECTOR *top
);

Parameters
posThe position of the listener... NULL = don't retrieve it.
velThe listener's velocity... NULL = don't retrieve it.
frontThe direction that the listener's front is pointing... NULL=don't retrieve it.
topThe direction that the listener's top is pointing... NULL = don't retrieve it.

Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes
BASS_ERROR_NO3D BASS_Init has not been successfully called with BASS_DEVICE_3D specified in the flags parameter.

Remarks
The front and top parameters must both be retrieved in a single call, they can not be retrieved individually.

See also
BASS_Set3DPosition, BASS_3DVECTOR structure