Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IAudioMixer.java « audio « humla « lublin « se « java « main « src - gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 093c6592241cd30a62f6a2a7786c34e04540b85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package se.lublin.humla.audio;

import java.util.Collection;

/**
 * A mixer for {@link IAudioMixerSource}s, where {@link T} is the source buffer type and {@link U}
 * is the destination buffer type.
 */
public interface IAudioMixer<T,U> {
    void mix(Collection<IAudioMixerSource<T>> sources, U buffer, int bufferOffset,
             int bufferLength);
}