Class UserProvidedAudioFilters

    • Constructor Detail

      • UserProvidedAudioFilters

        public UserProvidedAudioFilters​(AudioProcessingContext context,
                                        UniversalPcmAudioFilter nextFilter)
        Parameters:
        context - Configuration and output information for processing
        nextFilter - The next filter that should be processed after this one.
    • Method Detail

      • process

        public void process​(float[][] input,
                            int offset,
                            int length)
                     throws java.lang.InterruptedException
        Parameters:
        input - An array of samples for each channel
        offset - Offset in the arrays to start at
        length - Length of the target sequence in arrays
        Throws:
        java.lang.InterruptedException - When interrupted externally (or for seek/stop).
      • process

        public void process​(short[] input,
                            int offset,
                            int length)
                     throws java.lang.InterruptedException
        Parameters:
        input - Array of samples
        offset - Offset in the array
        length - Length of the sequence in the array
        Throws:
        java.lang.InterruptedException - When interrupted externally (or for seek/stop).
      • process

        public void process​(java.nio.ShortBuffer buffer)
                     throws java.lang.InterruptedException
        Parameters:
        buffer - The buffer of samples
        Throws:
        java.lang.InterruptedException - When interrupted externally (or for seek/stop).
      • process

        public void process​(short[][] input,
                            int offset,
                            int length)
                     throws java.lang.InterruptedException
        Parameters:
        input - An array of samples for each channel
        offset - Offset in the array
        length - Length of the sequence in the array
        Throws:
        java.lang.InterruptedException - When interrupted externally (or for seek/stop).