Class JavaSoundAudioRecorder

  • All Implemented Interfaces:
    com.badlogic.gdx.audio.AudioRecorder, com.badlogic.gdx.utils.Disposable

    public class JavaSoundAudioRecorder
    extends java.lang.Object
    implements com.badlogic.gdx.audio.AudioRecorder
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaSoundAudioRecorder​(int samplingRate, boolean isMono)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      void read​(short[] samples, int offset, int numSamples)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaSoundAudioRecorder

        public JavaSoundAudioRecorder​(int samplingRate,
                                      boolean isMono)
    • Method Detail

      • read

        public void read​(short[] samples,
                         int offset,
                         int numSamples)
        Specified by:
        read in interface com.badlogic.gdx.audio.AudioRecorder
      • dispose

        public void dispose()
        Specified by:
        dispose in interface com.badlogic.gdx.audio.AudioRecorder
        Specified by:
        dispose in interface com.badlogic.gdx.utils.Disposable