Visualizer.MeasurementModePeakRms Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Media.Audiofx.VisualizerMeasurementMode enum directly instead of this field.
Defines a measurement mode which computes the peak and RMS value in mB below the "full scale", where 0mB is normally the maximum sample value (but see the note below).
[Android.Runtime.Register("MEASUREMENT_MODE_PEAK_RMS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.Audiofx.VisualizerMeasurementMode enum directly instead of this field.", true)]
public const Android.Media.Audiofx.VisualizerMeasurementMode MeasurementModePeakRms = 1;
[<Android.Runtime.Register("MEASUREMENT_MODE_PEAK_RMS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.Audiofx.VisualizerMeasurementMode enum directly instead of this field.", true)>]
val mutable MeasurementModePeakRms : Android.Media.Audiofx.VisualizerMeasurementMode
Field Value
Value = 1- Attributes
Remarks
Defines a measurement mode which computes the peak and RMS value in mB below the "full scale", where 0mB is normally the maximum sample value (but see the note below). Minimum value depends on the resolution of audio samples used by the audio framework. The value of -9600mB is the minimum value for 16-bit audio systems and -14400mB or below for "high resolution" systems. Values for peak and RMS can be retrieved with #getMeasurementPeakRms(MeasurementPeakRms)
.
<p class=note><strong>Note:</strong> when Visualizer effect is attached to the global session (with session ID 0), it is possible to observe RMS peaks higher than 0 dBFS, for example in the case when there are multiple audio sources playing simultaneously. In this case #getMeasurementPeakRms(MeasurementPeakRms)
method can return a positive value.
Java documentation for android.media.audiofx.Visualizer.MEASUREMENT_MODE_PEAK_RMS
.
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.