Interface AudioTransformer



  • public interface AudioTransformer
    Used to intercept and transform audio frames.

    An example use case is adjusting volume.

    • Method Detail

      • transform

        byte[] transform​(AudioSource source,
                         byte[] originalFrame)
        Intercepts and transforms the incoming audio frame.
        Parameters:
        source - The audio source the frame is coming from.
        originalFrame - The original audio frame.
        Returns:
        The transformed audio frame.