IDirectSound3DListener Interface

A 3D listener represents the person who hears sounds generated by sound buffer objects in 3D space. The IDirectSound3DListener interface controls the listener's position and apparent velocity in 3D space. It also controls the environment parameters that affect the behavior of the DirectSound component, such as the amount of Doppler shifting and volume attenuation applied to sound sources far from the listener.

This section describes how your application can obtain a pointer to an IDirectSound3DListener interface and manage listener parameters by using interface methods. The following topics are discussed:

·Obtaining an IDirectSound3DListener Interface Pointer

·Batch Parameter Manipulation

·Deferred Settings

·Distance Factor

·Doppler Factor

·Listener Position and Velocity

·Listener Orientation

·Rolloff Factor