Language

Visualizer.WaveFormDataCaptureEventArgs(Visualizer, Byte[], Int32) Constructor

Definition

Initializes event data with the supplied waveform capture.

public WaveFormDataCaptureEventArgs(Android.Media.Audiofx.Visualizer? visualizer, byte[]? waveform, int samplingRate);
new Android.Media.Audiofx.Visualizer.WaveFormDataCaptureEventArgs : Android.Media.Audiofx.Visualizer * byte[] * int -> Android.Media.Audiofx.Visualizer.WaveFormDataCaptureEventArgs

Parameters

visualizer
Visualizer

The Visualizer that produced the capture.

waveform
Byte[]

The captured waveform as consecutive unsigned 8-bit mono PCM samples.

samplingRate
Int32

The sample rate of the captured audio in millihertz, not the event delivery rate.

Remarks

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.

Applies to