BASS_Set3DPosition

Sets the position, velocity, and orientation of the listener (ie. the player).

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

Parameters
posThe position of the listener... NULL = leave current.
velThe listener's velocity in units (as set with BASS_Set3DFactors) per second... NULL = leave current. This is only used to calculate the doppler effects, and in no way affects the listener's position.
frontThe direction that the listener's front is pointing... NULL=leave current.
topThe direction that the listener's top is pointing... NULL = leave current.

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 set in a single call, they can not be set individually. As with all 3D functions, use BASS_Apply3D to apply the changes.

See also
BASS_Apply3D, BASS_Get3DPosition, BASS_Set3DFactors, BASS_3DVECTOR structure