Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Listener3D Class (Microsoft.DirectX.DirectSound)

Retrieves and sets parameters that describe a listener's position, orientation, and listening environment in 3-D space.

Definition

Visual BasicPublic Class Listener3D
    Inherits MarshalByRefObjectLeave Site
    Implements IDisposableLeave Site
C#public class Listener3D : MarshalByRefObjectLeave Site, IDisposableLeave Site
C++public ref class Listener3D : MarshalByRefObjectLeave Site, IDisposableLeave Site
JScriptpublic class Listener3D extends MarshalByRefObjectLeave Site implements IDisposableLeave Site

Members Table

The following table lists the members exposed by the object.

Events

EventDescription
Disposing Occurs when the Dispose method is called or when the Listener3D object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.

Fields

FieldDescription
static (Shared in Visual Basic) DistanceFactorDefault Retrieves the default value for the Listener3D.DistanceFactor property.
static (Shared in Visual Basic) DistanceFactorMax Retrieves the maximum value for the Listener3D.DistanceFactor property.
static (Shared in Visual Basic) DistanceFactorMin Retrieves the minimum value for the Listener3D.DistanceFactor property.

Methods

MethodDescription
CommitDeferredSettings Commits any deferred settings made since the last call to this method.
Dispose Immediately releases the unmanaged resources used by the Listener3D object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the Listener3D object to free resources before it is destroyed by the garbage collector.
GetHashCode Returns the hash code for the current instance.
GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code.
Listener3D Initializes a new instance of the Listener3D class.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
raise_Disposing Raises the Listener3D.Disposing event when called from within a derived class.

Properties

PropertyDescription
AllParameters Retrieves and sets all 3-D parameters of the sound environment and the listener.
Deferred Determines if settings are set immediately or deferred.
Disposed Gets a value that indicates whether the object is disposed.
DistanceFactor Retrieves or sets the distance factor, which is the number of meters in a vector unit.
DopplerFactor Retrieves or sets the multiplier for the Doppler effect.
Orientation Retrieves or sets the orientation of the listener's head.
Position Retrieves or sets the listener's position.
RolloffFactor Retrieves and sets the rolloff factor, which determines the rate of attenuation over distance.
Velocity Retrieves or sets the listener's velocity.

Inheritance Hierarchy

Class Information

NamespaceMicrosoft.DirectX.DirectSound
AssemblyMicrosoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong NameMicrosoft.DirectX.DirectSound,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492
Show:
© 2015 Microsoft