Class MockAudioRecorder
- java.lang.Object
-
- com.badlogic.gdx.backends.headless.mock.audio.MockAudioRecorder
-
- All Implemented Interfaces:
com.badlogic.gdx.audio.AudioRecorder,com.badlogic.gdx.utils.Disposable
public class MockAudioRecorder extends java.lang.Object implements com.badlogic.gdx.audio.AudioRecorderThe headless backend does its best to mock elements. This is intended to make code-sharing between server and client as simple as possible.
-
-
Constructor Summary
Constructors Constructor Description MockAudioRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()voidread(short[] samples, int offset, int numSamples)
-
-
-
Method Detail
-
read
public void read(short[] samples, int offset, int numSamples)- Specified by:
readin interfacecom.badlogic.gdx.audio.AudioRecorder
-
dispose
public void dispose()
- Specified by:
disposein interfacecom.badlogic.gdx.audio.AudioRecorder- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable
-
-