IT. Expert System.

Android Reference

Visualizer.OnDataCaptureListener


android.media.audiofx

Interface Visualizer.OnDataCaptureListener

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void onFftDataCapture(Visualizer visualizer, byte[] fft, int samplingRate)
      Method called when a new frequency capture is available.
      void onWaveFormDataCapture(Visualizer visualizer, byte[] waveform, int samplingRate)
      Method called when a new waveform capture is available.
    • Method Detail

      • onWaveFormDataCapture

        void onWaveFormDataCapture(Visualizer visualizer,
                                 byte[] waveform,
                                 int samplingRate)
        Method called when a new waveform capture is available.

        Data in the waveform buffer is valid only within the scope of the callback. Applications which needs access to the waveform data after returning from the callback should make a copy of the data instead of holding a reference.

        Parameters:
        visualizer - Visualizer object on which the listener is registered.
        waveform - array of bytes containing the waveform representation.
        samplingRate - sampling rate of the audio visualized.
      • onFftDataCapture

        void onFftDataCapture(Visualizer visualizer,
                            byte[] fft,
                            int samplingRate)
        Method called when a new frequency capture is available.

        Data in the fft buffer is valid only within the scope of the callback. Applications which needs access to the fft data after returning from the callback should make a copy of the data instead of holding a reference.

        Parameters:
        visualizer - Visualizer object on which the listener is registered.
        fft - array of bytes containing the frequency representation.
        samplingRate - sampling rate of the audio visualized.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 11123 / . Delta: 0.02319 с