Virtualizer Virtualizer Class

Definition

An audio virtualizer is a general name for an effect to spatialize audio channels.

[Android.Runtime.Register("android/media/audiofx/Virtualizer", ApiSince=9, DoNotGenerateAcw=true)]
public class Virtualizer : Android.Media.Audiofx.AudioEffect
type Virtualizer = class
    inherit AudioEffect
Inheritance
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Virtualizer(Int32, Int32) Virtualizer(Int32, Int32)

Class constructor.

Virtualizer(IntPtr, JniHandleOwnership) Virtualizer(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

ActionCloseAudioEffectControlSession ActionCloseAudioEffectControlSession

Intent to signal to the effect control application or service that an audio session is closed and that effects should not be applied anymore.

(Inherited from AudioEffect)
ActionDisplayAudioEffectControlPanel ActionDisplayAudioEffectControlPanel

Intent to launch an audio effect control panel UI.

(Inherited from AudioEffect)
ActionOpenAudioEffectControlSession ActionOpenAudioEffectControlSession

Intent to signal to the effect control application or service that a new audio session is opened and requires audio effects to be applied.

(Inherited from AudioEffect)
AlreadyExists AlreadyExists

Internal operation status.

(Inherited from AudioEffect)
ContentTypeGame ContentTypeGame

Value for ExtraContentType when the type of content played is game audio

(Inherited from AudioEffect)
ContentTypeMovie ContentTypeMovie

Value for ExtraContentType when the type of content played is video or movie

(Inherited from AudioEffect)
ContentTypeMusic ContentTypeMusic

Value for ExtraContentType when the type of content played is music

(Inherited from AudioEffect)
ContentTypeVoice ContentTypeVoice

Value for ExtraContentType when the type of content played is voice audio

(Inherited from AudioEffect)
EffectAuxiliary EffectAuxiliary

Effect connection mode is auxiliary.

(Inherited from AudioEffect)
EffectInsert EffectInsert

Effect connection mode is insert.

(Inherited from AudioEffect)
Error Error

Unspecified error.

(Inherited from AudioEffect)
ErrorBadValue ErrorBadValue

Operation failed due to bad parameter value.

(Inherited from AudioEffect)
ErrorDeadObject ErrorDeadObject

Operation failed due to dead remote object.

(Inherited from AudioEffect)
ErrorInvalidOperation ErrorInvalidOperation

Operation failed because it was requested in wrong state.

(Inherited from AudioEffect)
ErrorNoInit ErrorNoInit

Operation failed due to bad object initialization.

(Inherited from AudioEffect)
ErrorNoMemory ErrorNoMemory

Operation failed due to lack of memory.

(Inherited from AudioEffect)
ExtraAudioSession ExtraAudioSession

Contains the ID of the audio session the effects should be applied to.

(Inherited from AudioEffect)
ExtraContentType ExtraContentType

Indicates which type of content is played by the application.

(Inherited from AudioEffect)
ExtraPackageName ExtraPackageName

Contains the package name of the calling application.

(Inherited from AudioEffect)
ParamStrength ParamStrength

Virtualizer effect strength.

ParamStrengthSupported ParamStrengthSupported

Is strength parameter supported by virtualizer engine.

Success Success

Successful operation.

(Inherited from AudioEffect)

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Enabled Enabled

Returns effect enabled state

(Inherited from AudioEffect)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasControl HasControl

Checks if this AudioEffect object is controlling the effect engine.

(Inherited from AudioEffect)
Id Id

Returns effect unique identifier.

(Inherited from AudioEffect)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
PeerReference PeerReference Inherited from Object
Properties Properties

Gets the virtualizer properties.

RoundedStrength RoundedStrength

Gets the current strength of the effect.

StrengthSupported StrengthSupported

Indicates whether setting strength is supported.

ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

VirtualizationMode VirtualizationMode

Return the virtualization mode being used, if any.

Methods

CanVirtualize(ChannelIn, VirtualizationMode) CanVirtualize(ChannelIn, VirtualizationMode)

Checks if the combination of a channel mask and virtualization mode is supported by this virtualizer.

Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ForceVirtualizationMode(VirtualizationMode) ForceVirtualizationMode(VirtualizationMode)

Forces the virtualizer effect to use the given processing mode.

GetDescriptor() GetDescriptor()

Get the effect descriptor.

(Inherited from AudioEffect)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetSpeakerAngles(ChannelIn, VirtualizationMode, Int32[]) GetSpeakerAngles(ChannelIn, VirtualizationMode, Int32[])

Queries the virtual speaker angles (azimuth and elevation) for a combination of a channel mask and virtualization mode.

JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
Release() Release()

Releases the native AudioEffect resources.

(Inherited from AudioEffect)
SetControlStatusListener(AudioEffect+IOnControlStatusChangeListener) SetControlStatusListener(AudioEffect+IOnControlStatusChangeListener)

Sets the listener AudioEffect notifies when the effect engine control is taken or returned.

(Inherited from AudioEffect)
SetEnabled(Boolean) SetEnabled(Boolean)

Enable or disable the effect.

(Inherited from AudioEffect)
SetEnableStatusListener(AudioEffect+IOnEnableStatusChangeListener) SetEnableStatusListener(AudioEffect+IOnEnableStatusChangeListener)

Sets the listener AudioEffect notifies when the effect engine is enabled or disabled.

(Inherited from AudioEffect)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetParameterListener(Virtualizer+IOnParameterChangeListener) SetParameterListener(Virtualizer+IOnParameterChangeListener)

Registers an OnParameterChangeListener interface.

SetStrength(Int16) SetStrength(Int16)

Sets the strength of the virtualizer effect.

ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Events

ControlStatus ControlStatus Inherited from AudioEffect
EnableStatus EnableStatus Inherited from AudioEffect
Parameter Parameter

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to