org.mobicents.media.server.component.audio

Class Resampler



  • public class Resamplerextends Object
    Peforms resampling of the signal.
    Author:
    kulikov
    • Constructor Detail

      • Resampler

        public Resampler(int f,         int F)
        Creates new resampler.
        Parameters:
        f - the sampling rate of the original signal in Hertz
        F - the sampling rate of the new signal in Hertz.
    • Method Detail

      • perform

        public double[] perform(double[] buffer,               int len)
        Performs resampling of the given signal.
        Parameters:
        buffer - the buffer containing the signal.
        len - the length of the signal in bytes.
        Returns:
        resampled signal

Copyright © 2016 TeleStax, Inc.. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14