Microsoft DirectX 9.0 SDK Update (Summer 2003) |
VoicePosition is similar in form to VoiceConnect. VoicePosition shows how use 3-D positioning with Microsoft® DirectPlay® Voice. It uses a simple 2-D grid to represent a playing field. Players can move around the playing field to hear the effects of 3-D spatial positioning.
Source: (SDK root)\Samples\C++\DirectPlay\VoicePosition
Executable: (SDK root)\Samples\C++\DirectPlay\Bin
Refer to the User's Guide section of the VoiceConnect sample for basic information about starting up the voice samples.
With VoicePosition, you can click anywhere on the 2-D grid to move your local player on the playing field. The player always faces up, so players to the left of your player will sound off from the left speaker.