Package builder.resid

Schnittstelle SampleMixer

Alle Superschnittstellen:
IntConsumer
Alle bekannten Implementierungsklassen:
SampleMixer.DefaultSampleMixer, SampleMixer.LinearFadingSampleMixer, SampleMixer.NoOpSampleMixer

public interface SampleMixer extends IntConsumer
Sound sample consumer consuming sample data while a SID is being clock'ed. A sample value is added to the audio buffer to mix the output of several SIDs together.
Note: To mix several SIDs, all SampleMixer's IntBuffers must wrap the same audio buffer. Additionally, the buffer must be cleared, before the next mixing starts.
Autor:
ken
  • Methodendetails

    • setVolume

      void setVolume(int volumeL, int volumeR)
    • setDelay

      void setDelay(int delayedSamples)
    • clear

      void clear()