Interface ShadowVisualizer.VisualizerSource

  • Enclosing class:
    ShadowVisualizer

    public static interface ShadowVisualizer.VisualizerSource
    Provides underlying data for the ShadowVisualizer. The default implementations are there only to help tests to run when they don't need to verify specific behaviour, otherwise tests should probably override these and provide some specific implementation that allows them to verify the functionality needed.
    • Method Detail

      • getSamplingRate

        default int getSamplingRate()
      • getWaveForm

        default int getWaveForm​(byte[] waveform)
      • getFft

        default int getFft​(byte[] fft)
      • release

        default void release()